aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs_query.cpp')
-rw-r--r--engines/xeen/dialogs_query.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_query.cpp b/engines/xeen/dialogs_query.cpp
index 7dd35a13c5..fd466938b3 100644
--- a/engines/xeen/dialogs_query.cpp
+++ b/engines/xeen/dialogs_query.cpp
@@ -102,7 +102,7 @@ bool YesNo::execute(bool type, bool townFlag) {
Map &map = *_vm->_map;
Party &party = *_vm->_party;
Resources &res = *_vm->_resources;
- Town &town = *_vm->_town;
+ LocationManager &loc = *_vm->_locations;
Windows &windows = *_vm->_windows;
SpriteResource confirmSprites;
bool result = false;
@@ -127,8 +127,8 @@ bool YesNo::execute(bool type, bool townFlag) {
while (!_vm->shouldQuit()) {
events.updateGameCounter();
- if (town.isActive()) {
- town.drawAnim(townFlag);
+ if (loc.isActive()) {
+ loc.drawAnim(townFlag);
//numFrames = 3;
} else {
intf.draw3d(true);