diff options
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/preagi_mickey.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp index 4c9b93ba96..dbca91233b 100644 --- a/engines/agi/preagi_mickey.cpp +++ b/engines/agi/preagi_mickey.cpp @@ -36,7 +36,7 @@ #define IDI_SND_OSCILLATOR_FREQUENCY 1193180 #define IDI_SND_TIMER_RESOLUTION 0.0182 -#define SAVEGAME_VERSION 1 +#define MSA_SAVEGAME_VERSION 1 namespace Agi { @@ -934,8 +934,8 @@ bool Mickey::loadGame() { error("Mickey::loadGame wrong save game format"); saveVersion = infile->readByte(); - if (saveVersion != SAVEGAME_VERSION) - warning("Old save game version (%d, current version is %d). Will try and read anyway, but don't be surprised if bad things happen", saveVersion, SAVEGAME_VERSION); + if (saveVersion != MSA_SAVEGAME_VERSION) + warning("Old save game version (%d, current version is %d). Will try and read anyway, but don't be surprised if bad things happen", saveVersion, MSA_SAVEGAME_VERSION); _game.iRoom = infile->readByte(); _game.iPlanet = infile->readByte(); @@ -1040,7 +1040,7 @@ void Mickey::saveGame() { return; } else { outfile->writeUint32BE(MKID_BE('MICK')); // header - outfile->writeByte(SAVEGAME_VERSION); + outfile->writeByte(MSA_SAVEGAME_VERSION); outfile->writeByte(_game.iRoom); outfile->writeByte(_game.iPlanet); |