Ticket #3866: compare.diff
File compare.diff, 706 bytes (added by , 16 years ago) |
---|
-
engines/cine/script_fw.cpp
1493 1493 1494 1494 debugC(5, kCineDebugScript, "Line: %d: compare globalVars[%d] and %d", _line, varIdx, value); 1495 1495 1496 _compare = compareVars(_globalVars[varIdx], value); 1496 // WORKAROUND for bug #2054882. Without this, the monks will 1497 // always kill you as an impostor, even if you enter the 1498 // monastery in disguise. 1499 if (varIdx == 255 && (g_cine->getGameType() == Cine::GType_FW)) { 1500 _compare = 1; 1501 } else { 1502 _compare = compareVars(_globalVars[varIdx], value); 1503 } 1497 1504 } 1498 1505 1499 1506 return 0;