don't know why this was removed but it breaks several games making it for all non v2 games
svn-id: r7311
This commit is contained in:
parent
775cfc4b4f
commit
e61f2dfd74
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ int Scumm::readVar(uint var) {
|
|||
var &= ~0x2000;
|
||||
}
|
||||
|
||||
if (!(_features & GF_AFTER_V2) && !(var & 0xF000))
|
||||
return _vars[var];
|
||||
|
||||
if (var & 0x8000) {
|
||||
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) {
|
||||
// Emulate a wierd hack in Zak256 to read individual
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue