aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-25 05:14:01 +0000
committerTorbjörn Andersson2005-04-25 05:14:01 +0000
commiteb3b057836ff5a88d10730ed6f9e059689364209 (patch)
treee8366410f31713941c1212087f2b1958b49a8df0 /gob
parent23fa40d56c89ec2b95a72be67346cc4d97eb6194 (diff)
downloadscummvm-rg350-eb3b057836ff5a88d10730ed6f9e059689364209.tar.gz
scummvm-rg350-eb3b057836ff5a88d10730ed6f9e059689364209.tar.bz2
scummvm-rg350-eb3b057836ff5a88d10730ed6f9e059689364209.zip
This ought to fix bug #1188910
svn-id: r17796
Diffstat (limited to 'gob')
-rw-r--r--gob/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/scenery.cpp b/gob/scenery.cpp
index 2de9587cf8..2a5e74b057 100644
--- a/gob/scenery.cpp
+++ b/gob/scenery.cpp
@@ -132,7 +132,7 @@ int16 scen_loadStatic(char search) {
for (i = 0; i < picsCount; i++) {
pictDescId = inter_load16();
- if (resId >= 30000) {
+ if (pictDescId >= 30000) {
ptr->pieces[i] =
(Scen_PieceDesc *) game_loadExtData(pictDescId, 0,
0);