aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-08 08:57:26 +0000
committerTravis Howell2006-10-08 08:57:26 +0000
commit4188e40c5d83b402e3cdc07cf5f0fbd8356b6ace (patch)
treef4ef2930cf40d63c3102cdd5596923dafb2f15f0 /engines
parented4f078fc83c9a93723c4edf517cc47723471973 (diff)
downloadscummvm-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.cpp5
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)