aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-18 22:11:59 -0500
committerPaul Gilbert2015-02-18 22:11:59 -0500
commit4c420a70be9124c224723a787d2335053f4986fe (patch)
treebc0378abd635505baee07c44623b34f7e3c93af2 /engines/xeen/town.cpp
parentcd5bc0ec7ec7652a39d550aea4f387eec45fa382 (diff)
downloadscummvm-rg350-4c420a70be9124c224723a787d2335053f4986fe.tar.gz
scummvm-rg350-4c420a70be9124c224723a787d2335053f4986fe.tar.bz2
scummvm-rg350-4c420a70be9124c224723a787d2335053f4986fe.zip
XEEN: Fix drawing buttons in Spells dialog when switching character
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r--engines/xeen/town.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index 2723226996..3a8b6d8231 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -567,12 +567,12 @@ Character *Town::doGuildOptions(Character *c) {
}
} else if (_buttonValue == Common::KEYCODE_s) {
if (c->guildMember())
- c = SpellsDialog::show(_vm, c, 0x80);
+ c = SpellsDialog::show(_vm, nullptr, c, 0x80);
_buttonValue = 0;
} else if (_buttonValue == Common::KEYCODE_c) {
if (!c->noActions()) {
if (c->guildMember())
- c = SpellsDialog::show(_vm, c, 0);
+ c = SpellsDialog::show(_vm, nullptr, c, 0);
_buttonValue = 0;
}
}