From 4c420a70be9124c224723a787d2335053f4986fe Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 18 Feb 2015 22:11:59 -0500 Subject: XEEN: Fix drawing buttons in Spells dialog when switching character --- engines/xeen/dialogs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/dialogs.h') diff --git a/engines/xeen/dialogs.h b/engines/xeen/dialogs.h index e2d8bc929c..c04b680ff1 100644 --- a/engines/xeen/dialogs.h +++ b/engines/xeen/dialogs.h @@ -55,8 +55,6 @@ protected: void doScroll(XeenEngine *vm, bool drawFlag, bool doFade); bool checkEvents(XeenEngine *vm); - - void drawButtons(XSurface *surface); public: ButtonContainer() : _buttonValue(0) {} @@ -71,6 +69,8 @@ public: void addButton(const Common::Rect &bounds, int val); void addPartyButtons(XeenEngine *vm); + + void drawButtons(XSurface *surface); }; class SettingsBaseDialog : public ButtonContainer { -- cgit v1.2.3