diff options
author | Travis Howell | 2006-03-02 06:33:15 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-02 06:33:15 +0000 |
commit | fec05d5180d3bc7f9bfa1efa9fd0cf734176605c (patch) | |
tree | b872f8c3f8e969cf648620796e346d5cb7bb1ab3 /engines/scumm | |
parent | 64ce4d6dd731ffa5556e76bbe37c5d5ec181e90e (diff) | |
download | scummvm-rg350-fec05d5180d3bc7f9bfa1efa9fd0cf734176605c.tar.gz scummvm-rg350-fec05d5180d3bc7f9bfa1efa9fd0cf734176605c.tar.bz2 scummvm-rg350-fec05d5180d3bc7f9bfa1efa9fd0cf734176605c.zip |
Typos
svn-id: r21005
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/intern.h | 2 | ||||
-rw-r--r-- | engines/scumm/script_c64.cpp | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/engines/scumm/intern.h b/engines/scumm/intern.h index 1af4f8c777..8a93abbcb8 100644 --- a/engines/scumm/intern.h +++ b/engines/scumm/intern.h @@ -458,7 +458,7 @@ protected: void o_setBitVar(); void o_doSentence(); void o_unknown2(); - void o_ifActiveOBject(); + void o_ifActiveObject(); void o_getClosestObjActor(); void o_printEgo_c64(); void o_print_c64(); diff --git a/engines/scumm/script_c64.cpp b/engines/scumm/script_c64.cpp index 29dd4a4919..b7adc50bf2 100644 --- a/engines/scumm/script_c64.cpp +++ b/engines/scumm/script_c64.cpp @@ -162,7 +162,7 @@ void ScummEngine_c64::setupOpcodes() { OPCODE(o2_stopScript), OPCODE(o_stopCurrentScript), /* 64 */ - OPCODE(o_ifActiveOBject), + OPCODE(o_ifActiveObject), OPCODE(o_stopCurrentScript), OPCODE(o_getClosestObjActor), OPCODE(o5_getActorFacing), @@ -322,7 +322,7 @@ void ScummEngine_c64::setupOpcodes() { OPCODE(o2_stopScript), OPCODE(o_stopCurrentScript), /* E4 */ - OPCODE(o_ifActiveOBject), + OPCODE(o_ifActiveObject), OPCODE(o_loadRoomWithEgo), OPCODE(o_stopCurrentScript), OPCODE(o5_getActorFacing), @@ -689,6 +689,7 @@ void ScummEngine_c64::o_badOpcode() { void ScummEngine_c64::o_nop() { } +// TODO: Maybe translate actor flags in future. void ScummEngine_c64::o_setActorBitVar() { byte act = getVarOrDirectByte(PARAM_1); byte mask = getVarOrDirectByte(PARAM_2); @@ -708,7 +709,7 @@ void ScummEngine_c64::o_getActorBitVar() { byte act = getVarOrDirectByte(PARAM_1); byte mask = getVarOrDirectByte(PARAM_2); - Actor *a = derefActor(act, "o_setActorBitVar"); + Actor *a = derefActor(act, "o_getActorBitVar"); setResult((a->_miscflags & mask) ? 1 : 0); debug(0, "o_getActorBitVar(%d, %d, %d)", act, mask, (a->_miscflags & mask)); @@ -759,7 +760,7 @@ void ScummEngine_c64::o_unknown2() { warning("STUB: o_unknown2(%d)", var1); } -void ScummEngine_c64::o_ifActiveOBject() { +void ScummEngine_c64::o_ifActiveObject() { byte obj = fetchScriptByte(); if (obj == _activeObject) |