aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_hof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/scene_hof.cpp')
-rw-r--r--engines/kyra/scene_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_hof.cpp b/engines/kyra/scene_hof.cpp
index 1882386b03..db9966d144 100644
--- a/engines/kyra/scene_hof.cpp
+++ b/engines/kyra/scene_hof.cpp
@@ -277,7 +277,7 @@ int KyraEngine_HoF::trySceneChange(int *moveTable, int unk1, int updateChar) {
int changedScene = 0;
const int *moveTableStart = moveTable;
_unk4 = 0;
- while (running && !_quitFlag) {
+ while (running && !_quit) {
if (*moveTable >= 0 && *moveTable <= 7) {
_mainCharacter.facing = getOppositeFacingDirection(*moveTable);
unkFlag = true;