Turn Indy4 mousefighting on by default. Can we do this in a better place?
svn-id: r3953
This commit is contained in:
parent
6cb3d8fe1b
commit
d7b8074eca
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue