aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/saveload_v2.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/kyra/saveload_v2.cpp b/engines/kyra/saveload_v2.cpp
index 97810e6691..c20a73fc9f 100644
--- a/engines/kyra/saveload_v2.cpp
+++ b/engines/kyra/saveload_v2.cpp
@@ -246,9 +246,8 @@ void KyraEngine_v2::loadGame(const char *fileName) {
int cauldronUseCount = _cauldronUseCount;
setCauldronState(_cauldronState, 0);
_cauldronUseCount = cauldronUseCount;
- int origX = _mainCharX = _mainCharacter.x2 = _mainCharacter.x1;
- int origY = _mainCharY = _mainCharacter.y2 = _mainCharacter.y1;
- int origFacing = _mainCharacter.facing;
+ _mainCharX = _mainCharacter.x2 = _mainCharacter.x1;
+ _mainCharY = _mainCharacter.y2 = _mainCharacter.y1;
_mainCharacter.facing = 4;
enterNewScene(_mainCharacter.sceneId, _mainCharacter.facing, 0, 0, 1);