aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/window.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-05 20:29:37 +1000
committerPaul Gilbert2012-05-05 20:29:37 +1000
commitaa603d5a6719764e785e4bd096f16493f7ec7f6c (patch)
treeaf4cac7b6b8a2149985d354b4edba6b90a687eb9 /engines/tony/window.h
parentfbee927c6a648ee1e3f162f0ec6b9d298619dd9f (diff)
downloadscummvm-rg350-aa603d5a6719764e785e4bd096f16493f7ec7f6c.tar.gz
scummvm-rg350-aa603d5a6719764e785e4bd096f16493f7ec7f6c.tar.bz2
scummvm-rg350-aa603d5a6719764e785e4bd096f16493f7ec7f6c.zip
TONY: Fix a crash from objects being destroyed in the wrong order
Diffstat (limited to 'engines/tony/window.h')
-rw-r--r--engines/tony/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/window.h b/engines/tony/window.h
index da8c5dc824..5949450e8f 100644
--- a/engines/tony/window.h
+++ b/engines/tony/window.h
@@ -121,8 +121,8 @@ protected:
void WipeEffect(Common::Rect &rcBoundEllipse);
public:
- RMWindow() { m_Primary = NULL; m_Back = NULL; };
- ~RMWindow() { Close(); }
+ RMWindow();
+ ~RMWindow();
// Inizializzazione
void Init(/*HINSTANCE hInst*/);