Since Actor::initActor is now virtual, it shouldn't be called directly from the base constructor (ActorC64::initActor won't get called as vtable hasn't yet been setup).

svn-id: r25015
This commit is contained in:
Gregory Montoir 2007-01-05 23:33:13 +00:00
parent 2cc2b09e82
commit cd79d127fa
2 changed files with 1 additions and 2 deletions

View file

@ -1242,6 +1242,7 @@ void ScummEngine::resetScumm() {
_actors[i] = new ActorOldWalk(i);
else
_actors[i] = new Actor(i);
_actors[i]->initActor(-1);
_actors[i]->initActor(1);
// this is from IDB