reimplemented opcode 0xEC a better way

svn-id: r3801
This commit is contained in:
Vincent Hamm 2002-03-22 11:15:33 +00:00
parent 70f18a9394
commit 7b1bbf81e0
2 changed files with 8 additions and 7 deletions

View File

@ -322,7 +322,7 @@ void Scumm::setupOpcodes2() {
&Scumm::o6_invalid,
&Scumm::o6_invalid,
/* EC */
&Scumm::o6_setBlastWindow,
&Scumm::o6_getActorPriority,
&Scumm::o6_getObjectNewDir,
&Scumm::o6_invalid,
&Scumm::o6_invalid,
@ -2833,10 +2833,11 @@ void Scumm::decodeParseString2(int m, int n) {
}
}
void Scumm::o6_setBlastWindow()
void Scumm::o6_getActorPriority()
{
pop();
pop();
pop();
pop();
Actor *a;
a=derefActorSafe(pop(),"getActorPriority");
push(a->layer);
}

View File

@ -1558,7 +1558,7 @@ public:
void o6_kernelFunction();
void o6_getAnimateVariable();
void o6_drawBlastObject();
void o6_setBlastWindow();
void o6_getActorPriority();
/* Scumm Vars */
byte VAR_EGO;