diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/draci/game.cpp | 2 | ||||
-rw-r--r-- | engines/draci/game.h | 2 | ||||
-rw-r--r-- | engines/draci/saveload.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index 4fbf2d31ea..af57b1eb37 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -1594,7 +1594,7 @@ Game::~Game() { delete[] _items; } -void Game::DoSync(Common::Serializer &s, uint8 saveVersion) { +void Game::synchronize(Common::Serializer &s, uint8 saveVersion) { s.syncAsUint16LE(_currentRoom._roomNum); for (uint i = 0; i < _info._numObjects; ++i) { diff --git a/engines/draci/game.h b/engines/draci/game.h index 53a472a552..1e3cca9b9d 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -330,7 +330,7 @@ public: void setEnableSpeedText(bool value) { _enableSpeedText = value; } bool getEnableSpeedText() const { return _enableSpeedText; } - void DoSync(Common::Serializer &s, uint8 saveVersion); + void synchronize(Common::Serializer &s, uint8 saveVersion); private: void updateOrdinaryCursor(); diff --git a/engines/draci/saveload.cpp b/engines/draci/saveload.cpp index e30af5375e..83c64b5725 100644 --- a/engines/draci/saveload.cpp +++ b/engines/draci/saveload.cpp @@ -106,7 +106,7 @@ Common::Error saveSavegameData(int saveGameIdx, const Common::String &saveName, } else { // Create the remainder of the savegame Common::Serializer s(NULL, f); - vm._game->DoSync(s, header.version); + vm._game->synchronize(s, header.version); f->finalize(); delete f; @@ -136,7 +136,7 @@ Common::Error loadSavegameData(int saveGameIdx, DraciEngine *vm) { // Synchronise the remaining data of the savegame Common::Serializer s(f, NULL); - vm->_game->DoSync(s, header.version); + vm->_game->synchronize(s, header.version); delete f; // Post-processing |