fix compile, wrong data version.

This commit is contained in:
Enno Rehling 2017-08-18 21:05:26 +02:00
parent e2578966e5
commit 89d50e9b72
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ int curse_read(attrib * a, void *owner, gamedata *data)
assert(result == 0);
return AT_READ_FAIL;
}
if (data->version <= NORCSPELL_VERSION) {
if (data->version <= NOLANDITEM_VERSION) {
if ((c->type->flags & CURSE_NOAGE) && !(c_flags(c) & CURSE_NOAGE)) {
/* bugfix bug 2356 */
c_setflag(c, CURSE_NOAGE);