diff options
author | Denis Kasak | 2009-07-27 04:20:27 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-27 04:20:27 +0000 |
commit | aa6efa33f1b5bb7485cb60012d71fdc14f3b9e67 (patch) | |
tree | 1433c7b1a9368f524c883064587c537cbc5c323d /engines/draci | |
parent | 673bae444379a522182b1cac47912f798ee46315 (diff) | |
download | scummvm-rg350-aa6efa33f1b5bb7485cb60012d71fdc14f3b9e67.tar.gz scummvm-rg350-aa6efa33f1b5bb7485cb60012d71fdc14f3b9e67.tar.bz2 scummvm-rg350-aa6efa33f1b5bb7485cb60012d71fdc14f3b9e67.zip |
Fixed segfault when the screen is deleted before animations (the Animation destructor still needs to use the screen).
svn-id: r42837
Diffstat (limited to 'engines/draci')
-rw-r--r-- | engines/draci/draci.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp index deaa39bba1..057000c7ca 100644 --- a/engines/draci/draci.cpp +++ b/engines/draci/draci.cpp @@ -223,11 +223,11 @@ DraciEngine::~DraciEngine() { delete _smallFont; delete _bigFont; - delete _screen; delete _mouse; - delete _game; delete _script; delete _anims; + delete _game; + delete _screen; delete _initArchive; delete _paletteArchive; |