SCUMM: fix ScummEngine_v0::ifEqualActiveObject2Common() parameter name
This commit is contained in:
parent
c138ef6709
commit
8141511e2f
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue