aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-06-29 21:38:46 +0200
committeruruk2014-06-29 21:38:46 +0200
commitb6d4281917d10effdd3890f8d1f740558da409c4 (patch)
treed45cf72a6ab1e45cd95534c8d1de7187dd8c08db
parent38a59bee3e85f82672ce88befb2e428d243416db (diff)
downloadscummvm-rg350-b6d4281917d10effdd3890f8d1f740558da409c4.tar.gz
scummvm-rg350-b6d4281917d10effdd3890f8d1f740558da409c4.tar.bz2
scummvm-rg350-b6d4281917d10effdd3890f8d1f740558da409c4.zip
CGE2: Call loadPos() from loadHero() instead of loadUser().
-rw-r--r--engines/cge2/cge2_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index 77ad7181fc..2e70125fa6 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -727,7 +727,6 @@ void CGE2Engine::loadUser() {
// Missing loading from file. TODO: Implement it with the saving/loading!
loadScript("CGE.INI");
loadHeroes();
- loadPos();
}
void CGE2Engine::loadHeroes() { // Original name: loadGame()
@@ -770,6 +769,8 @@ void CGE2Engine::loadHeroes() { // Original name: loadGame()
//--- start!
switchHero(_sex);
+
+ loadPos();
}
void CGE2Engine::loadPos() {