diff options
author | Paul Gilbert | 2012-05-05 20:29:37 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-05 20:29:37 +1000 |
commit | aa603d5a6719764e785e4bd096f16493f7ec7f6c (patch) | |
tree | af4cac7b6b8a2149985d354b4edba6b90a687eb9 /engines/tony/window.h | |
parent | fbee927c6a648ee1e3f162f0ec6b9d298619dd9f (diff) | |
download | scummvm-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.h | 4 |
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*/); |