refactored parts of actor.cpp: many methods are now members of class Actor instead of class Scumm. This is still work in progress!
svn-id: r4319
This commit is contained in:
parent
a592de4333
commit
fe4230bcbf
11 changed files with 616 additions and 555 deletions
|
@ -720,7 +720,7 @@ byte *Scumm::getObjOrActorName(int obj)
|
|||
byte *objptr;
|
||||
|
||||
if (obj < NUM_ACTORS)
|
||||
return getActorName(derefActorSafe(obj, "getObjOrActorName"));
|
||||
return derefActorSafe(obj, "getObjOrActorName")->getActorName();
|
||||
|
||||
if (_features & GF_SMALL_HEADER) {
|
||||
byte offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue