Another difference in C64 maniac.

svn-id: r18167
This commit is contained in:
Travis Howell 2005-05-18 15:42:35 +00:00
parent b6da09d4fe
commit 6eb84f82fa
2 changed files with 8 additions and 2 deletions

View File

@ -410,6 +410,7 @@ protected:
void o_unknown53(); void o_unknown53();
void o_cursorCommand(); void o_cursorCommand();
void o_lights(); void o_lights();
void o_getObjectOwner();
void o_subtract(); void o_subtract();
}; };

View File

@ -179,7 +179,7 @@ void ScummEngine_c64::setupOpcodes() {
OPCODE(o_lights), OPCODE(o_lights),
OPCODE(o5_getActorCostume), OPCODE(o5_getActorCostume),
OPCODE(o5_loadRoom), OPCODE(o5_loadRoom),
OPCODE(o2_roomOps), OPCODE(o_getObjectOwner),
/* 74 */ /* 74 */
OPCODE(o5_getDist), OPCODE(o5_getDist),
OPCODE(o2_findObject), OPCODE(o2_findObject),
@ -339,7 +339,7 @@ void ScummEngine_c64::setupOpcodes() {
OPCODE(o2_lights), OPCODE(o2_lights),
OPCODE(o5_getActorCostume), OPCODE(o5_getActorCostume),
OPCODE(o5_loadRoom), OPCODE(o5_loadRoom),
OPCODE(o2_roomOps), OPCODE(o_getObjectOwner),
/* F4 */ /* F4 */
OPCODE(o5_getDist), OPCODE(o5_getDist),
OPCODE(o2_findObject), OPCODE(o2_findObject),
@ -470,6 +470,11 @@ void ScummEngine_c64::o_lights() {
_fullRedraw = 1; _fullRedraw = 1;
} }
void ScummEngine_c64::o_getObjectOwner() {
getResultPos();
setResult(getOwner(getVarOrDirectByte(PARAM_1)));
}
void ScummEngine_c64::o_subtract() { void ScummEngine_c64::o_subtract() {
int a; int a;
getResultPos(); getResultPos();