diff options
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r-- | scumm/scumm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 94158ae417..b0e504d062 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1175,6 +1175,7 @@ ScummEngine::~ScummEngine() { _mixer->stopAll(); delete [] _actors; + delete [] _sortedActors; delete _2byteFontPtr; delete _charset; @@ -1546,6 +1547,7 @@ void ScummEngine::scummInit() { // Allocate and Initialize actors Actor::initActorClass(this); _actors = new Actor[_numActors]; + _sortedActors = new Actor * [_numActors]; for (i = 0; i < _numActors; i++) { _actors[i]._number = i; _actors[i].initActor(1); |