forked from github/server
fix compile, wrong data version.
This commit is contained in:
parent
e2578966e5
commit
89d50e9b72
|
@ -213,7 +213,7 @@ int curse_read(attrib * a, void *owner, gamedata *data)
|
||||||
assert(result == 0);
|
assert(result == 0);
|
||||||
return AT_READ_FAIL;
|
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)) {
|
if ((c->type->flags & CURSE_NOAGE) && !(c_flags(c) & CURSE_NOAGE)) {
|
||||||
/* bugfix bug 2356 */
|
/* bugfix bug 2356 */
|
||||||
c_setflag(c, CURSE_NOAGE);
|
c_setflag(c, CURSE_NOAGE);
|
||||||
|
|
Loading…
Reference in New Issue