mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Turn Indy4 mousefighting on by default. Can we do this in a better place?
svn-id: r3953
This commit is contained in:
@@ -366,6 +366,12 @@ void Scumm::writeVar(uint var, int value)
|
||||
var &= 0x7FFF;
|
||||
checkRange(_numBitVariables - 1, 0, var,
|
||||
"Bit variable %d out of range(w)");
|
||||
|
||||
/* FIXME: Enable Indy4 mousefighting by default.
|
||||
is there a better place to put this? */
|
||||
if (_gameId == GID_INDY4 && var == 107 && vm.slot[_currentScript].number == 1)
|
||||
value = 1;
|
||||
|
||||
if (value)
|
||||
_bitVars[var >> 3] |= (1 << (var & 7));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user