From eb3b057836ff5a88d10730ed6f9e059689364209 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 25 Apr 2005 05:14:01 +0000 Subject: This ought to fix bug #1188910 svn-id: r17796 --- gob/scenery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gob') 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); -- cgit v1.2.3