SCUMM: fix ScummEngine_v0::ifEqualActiveObject2Common() parameter name

This commit is contained in:
Tobias Gunkel 2012-01-15 23:51:28 +01:00
parent c138ef6709
commit 8141511e2f
2 changed files with 3 additions and 3 deletions

View file

@ -828,9 +828,9 @@ void ScummEngine_v0::o_doSentence() {
doSentence(verb, obj, obj2);
}
bool ScummEngine_v0::ifEqualActiveObject2Common(bool ignoreType) {
bool ScummEngine_v0::ifEqualActiveObject2Common(bool checkType) {
byte obj = fetchScriptByte();
if (!ignoreType || (OBJECT_V0_TYPE(_cmdObject2) == kObjectV0TypeFG))
if (!checkType || (OBJECT_V0_TYPE(_cmdObject2) == kObjectV0TypeFG))
return (obj == OBJECT_V0_NR(_cmdObject2));
return false;
}

View file

@ -102,7 +102,7 @@ protected:
virtual bool areBoxesNeighbors(int box1nr, int box2nr);
bool ifEqualActiveObject2Common(bool ignoreType);
bool ifEqualActiveObject2Common(bool checkType);
/* Version C64 script opcodes */
void o_stopCurrentScript();