forked from github/server
BUG 2536 fix broken familiar spellbooks
This commit is contained in:
parent
9ae603803f
commit
f0a1fe6134
2 changed files with 3 additions and 2 deletions
|
@ -40,8 +40,9 @@
|
|||
#define FACTION_UID_VERSION 362 /* f->uid contains a database id */
|
||||
#define CRYPT_VERSION 363 /* passwords are encrypted */
|
||||
#define FAMILIAR_FIXMAGE_VERSION 364 /* familiar links are fixed */
|
||||
#define FAMILIAR_FIXSPELLBOOK_VERSION 365 /* familiar links are fixed */
|
||||
|
||||
#define RELEASE_VERSION FAMILIAR_FIXMAGE_VERSION /* current datafile */
|
||||
#define RELEASE_VERSION FAMILIAR_FIXSPELLBOOK_VERSION /* current datafile */
|
||||
#define MIN_VERSION UIDHASH_VERSION /* minimal datafile we support */
|
||||
#define MAX_VERSION RELEASE_VERSION /* change this if we can need to read the future datafile, and we can do so */
|
||||
|
||||
|
|
|
@ -1527,7 +1527,7 @@ int read_game(gamedata *data)
|
|||
if (data->version < FAMILIAR_FIX_VERSION) {
|
||||
fix_familiars(fix_fam_triggers);
|
||||
}
|
||||
if (data->version < FAMILIAR_FIXMAGE_VERSION) {
|
||||
if (data->version < FAMILIAR_FIXSPELLBOOK_VERSION) {
|
||||
fix_familiars(fix_fam_mage);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue