aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs_error.h')
-rw-r--r--engines/xeen/dialogs_error.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/xeen/dialogs_error.h b/engines/xeen/dialogs_error.h
index 46efdb1683..56e30bc9de 100644
--- a/engines/xeen/dialogs_error.h
+++ b/engines/xeen/dialogs_error.h
@@ -33,9 +33,7 @@ enum ErrorWaitType { WT_FREEZE_WAIT = 0, WT_NONFREEZED_WAIT = 1,
class ErrorDialog : public ButtonContainer {
private:
- XeenEngine *_vm;
-
- ErrorDialog(XeenEngine *vm) : ButtonContainer(), _vm(vm) {}
+ ErrorDialog(XeenEngine *vm) : ButtonContainer(vm) {}
void execute(const Common::String &msg, ErrorWaitType waitType);
public:
@@ -51,9 +49,7 @@ public:
class CantCast: public ButtonContainer {
private:
- XeenEngine *_vm;
-
- CantCast(XeenEngine *vm) : ButtonContainer(), _vm(vm) {}
+ CantCast(XeenEngine *vm) : ButtonContainer(vm) {}
void execute(int spellId, int componentNum);
public: