Misc. fixes

svn-id: r4338
This commit is contained in:
James Brown 2002-05-15 10:25:00 +00:00
parent f0999a4838
commit 4670fee821
6 changed files with 44 additions and 31 deletions

View file

@ -76,8 +76,11 @@ void Scumm::scummInit()
setShake(0);
setupCursor();
/* Allocate and initilise actors */
actor = new Actor[MAX_ACTORS];
for (i = 1, a = getFirstActor(); ++a, i < NUM_ACTORS; i++) {
a->number = i;
a->initActorClass(this);
a->initActor(1);
}