From ddf4f4598de95ea8b631d9e77c3da4178d61c1d2 Mon Sep 17 00:00:00 2001 From: uruk Date: Thu, 3 Jul 2014 09:47:10 +0200 Subject: CGE2: Rename saveHeroPos() to storeHeroPos(). --- engines/cge2/cge2.h | 2 +- engines/cge2/cge2_main.cpp | 4 ++-- engines/cge2/saveload.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/cge2') diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h index aade31f2b8..dddf0c3e23 100644 --- a/engines/cge2/cge2.h +++ b/engines/cge2/cge2.h @@ -157,7 +157,7 @@ public: void sceneDown(); void closePocket(); void switchScene(int scene); - void saveHeroPos(); + void storeHeroPos(); void showBak(int ref); void loadTab(); int newRandom(int range); diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 071340508c..804294d478 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -503,7 +503,7 @@ void CGE2Engine::switchScene(int scene) { _req = scene; - saveHeroPos(); + storeHeroPos(); *(_eyeTab[_now]) = *_eye; if (scene < 0) @@ -522,7 +522,7 @@ void CGE2Engine::switchScene(int scene) { } } -void CGE2Engine::saveHeroPos() { +void CGE2Engine::storeHeroPos() { for (int i = 0; i < 2; i++) { Hero *h = _heroTab[i]->_ptr; if (h->_scene == _now) { diff --git a/engines/cge2/saveload.cpp b/engines/cge2/saveload.cpp index cb1e981318..f6cbbf93e1 100644 --- a/engines/cge2/saveload.cpp +++ b/engines/cge2/saveload.cpp @@ -196,7 +196,7 @@ Common::Error CGE2Engine::saveGameState(int slot, const Common::String &desc) { writeSavegameHeader(saveFile, header); // Write out the data of the savegame - saveHeroPos(); + storeHeroPos(); sceneDown(); syncGame(nullptr, saveFile); sceneUp(_now); -- cgit v1.2.3