From 0f78fb9373b8c4befd727e9e56faf5d30ac59cff Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 18 Feb 2015 20:35:32 -0500 Subject: XEEN: Implement extra code for passing active character to castSpell --- engines/xeen/dialogs_spells.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/dialogs_spells.h') diff --git a/engines/xeen/dialogs_spells.h b/engines/xeen/dialogs_spells.h index c27567cd5c..f091da66cf 100644 --- a/engines/xeen/dialogs_spells.h +++ b/engines/xeen/dialogs_spells.h @@ -64,12 +64,12 @@ private: CastSpell(XeenEngine *vm) : ButtonContainer(), _vm(vm) {} - int execute(Character *c, int mode); + int execute(Character *&c, int mode); void loadButtons(); public: static int show(XeenEngine *vm, int mode); - static int show(XeenEngine *vm, Character *c, int mode); + static int show(XeenEngine *vm, Character *&c, int mode); }; } // End of namespace Xeen -- cgit v1.2.3