diff options
Diffstat (limited to 'engines/xeen/dialogs_query.h')
-rw-r--r-- | engines/xeen/dialogs_query.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/xeen/dialogs_query.h b/engines/xeen/dialogs_query.h index 96ae488b97..0b9b2687ac 100644 --- a/engines/xeen/dialogs_query.h +++ b/engines/xeen/dialogs_query.h @@ -29,9 +29,7 @@ namespace Xeen { class Confirm : public ButtonContainer { private: - XeenEngine *_vm; - - Confirm(XeenEngine *vm) : ButtonContainer(), _vm(vm) {} + Confirm(XeenEngine *vm) : ButtonContainer(vm) {} bool execute(const Common::String &msg, int mode); public: @@ -40,9 +38,7 @@ public: class YesNo : public ButtonContainer { private: - XeenEngine *_vm; - - YesNo(XeenEngine *vm) : ButtonContainer(), _vm(vm) {} + YesNo(XeenEngine *vm) : ButtonContainer(vm) {} bool execute(bool type, bool townFlag); public: |