aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gob/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/scenery.cpp b/gob/scenery.cpp
index 2a5e74b057..5b43630670 100644
--- a/gob/scenery.cpp
+++ b/gob/scenery.cpp
@@ -445,7 +445,7 @@ int16 scen_loadAnim(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);