PARALLACTION: Fix use-after-free on quit

Parallaction::_gfx is referenced by objects destroyed when
Parallaction::_input is destroyed so it cannot be destroyed first.
This commit is contained in:
Colin Snover 2018-01-30 11:06:36 -06:00 committed by D G Turner
parent 69df2e2d0e
commit 8da86418bf

View file

@ -108,10 +108,10 @@ Parallaction::~Parallaction() {
delete _localFlagNames;
_char._ani.reset();
delete _input;
delete _gfx;
delete _soundMan;
delete _disk;
delete _input;
}
Common::Error Parallaction::init() {