aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2007-04-09 16:56:47 +0000
committerSven Hesse2007-04-09 16:56:47 +0000
commit326068406649927a4d13ebfe7e280ed206cac872 (patch)
tree153092f8f07c24a4da6210b39ac970cfb2e2519b /engines/gob
parent333bac56c306c4addbb6cf834fe62dd075941b3d (diff)
downloadscummvm-rg350-326068406649927a4d13ebfe7e280ed206cac872.tar.gz
scummvm-rg350-326068406649927a4d13ebfe7e280ed206cac872.tar.bz2
scummvm-rg350-326068406649927a4d13ebfe7e280ed206cac872.zip
Fixed the background glitch
svn-id: r26438
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index 75a3ed9a4e..68faf039b2 100644
--- a/engines/gob/scenery.cpp
+++ b/engines/gob/scenery.cpp
@@ -393,7 +393,7 @@ void Scenery::updateStatic(int16 orderFrom) {
updateStatic(orderFrom, _curStatic & 0xFF, _curStaticLayer & 0xFF);
if (_curStatic & 0xFF00)
- updateStatic(orderFrom, (_curStatic >> 8) & 0xFF,
+ updateStatic(orderFrom, ((_curStatic >> 8) & 0xFF) - 1,
(_curStaticLayer >> 8) & 0xFF);
}