ZVISION: Delete the render manager after the script manager on quit

This is necessary, as the script manager may include references to the
render manager, such as side effects in Zork: Nemesis. Fixes a crash on
engine exit when the current scene contains such effects
This commit is contained in:
Filippos Karapetis 2014-12-27 01:02:51 +02:00
parent eb46e83796
commit fd34456bb8

View File

@ -127,8 +127,8 @@ ZVision::~ZVision() {
delete _cursorManager;
delete _stringManager;
delete _saveManager;
delete _renderManager;
delete _scriptManager;
delete _renderManager; // should be deleted after the script manager
delete _rnd;
delete _midiManager;