diff options
author | Travis Howell | 2004-08-28 03:18:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-28 03:18:52 +0000 |
commit | 22fb004e209f837b86231ec213a07ad7e7b90ec5 (patch) | |
tree | 53f797b31e08c781109c4ea12adf9979906718e7 /scumm/script.cpp | |
parent | 13b6cf7c67dce13c1d457d58ecee20345c83e8e2 (diff) | |
download | scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.tar.gz scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.tar.bz2 scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.zip |
akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes
svn-id: r14799
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index d33bfb5069..a53053eb18 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -516,7 +516,7 @@ int ScummEngine::readVar(uint var) { } if (var & 0x8000) { - if (_gameId == GID_PAJAMA) { + if (_gameId == GID_PAJAMA || _gameId == GID_WATER) { var &= 0xFFF; checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)"); return _roomVars[var]; @@ -599,7 +599,7 @@ void ScummEngine::writeVar(uint var, int value) { } if (var & 0x8000) { - if (_gameId == GID_PAJAMA) { + if (_gameId == GID_PAJAMA || _gameId == GID_WATER) { var &= 0xFFF; checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)"); _roomVars[var] = value; |