diff options
author | Travis Howell | 2006-10-08 08:57:26 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-08 08:57:26 +0000 |
commit | 4188e40c5d83b402e3cdc07cf5f0fbd8356b6ace (patch) | |
tree | f4ef2930cf40d63c3102cdd5596923dafb2f15f0 /engines | |
parent | ed4f078fc83c9a93723c4edf517cc47723471973 (diff) | |
download | scummvm-rg350-4188e40c5d83b402e3cdc07cf5f0fbd8356b6ace.tar.gz scummvm-rg350-4188e40c5d83b402e3cdc07cf5f0fbd8356b6ace.tar.bz2 scummvm-rg350-4188e40c5d83b402e3cdc07cf5f0fbd8356b6ace.zip |
Add invert box difference in Elvira 2
svn-id: r24195
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/verb.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp index cae3046516..ec94790791 100644 --- a/engines/agos/verb.cpp +++ b/engines/agos/verb.cpp @@ -899,6 +899,11 @@ void AGOSEngine::invertBox(HitArea * ha, byte a, byte b, byte c, byte d) { color ^= 2; src[i] = color; } + } else if (getGameType() == GType_ELVIRA2) { + if (!(color & 1)) { + color ^= 2; + src[i] = color; + } } else { if (a >= color && b < color) { if (c >= color) |