diff options
author | Torbjörn Andersson | 2005-04-25 18:53:58 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-04-25 18:53:58 +0000 |
commit | f08a767aa8b5c822f47b3931d7e8c71468112c94 (patch) | |
tree | 918cf97f5a42e86369e2051b182d0e5bee43b9bd | |
parent | 93279ff29e82973dbcf117fe98ba325dfab5cb8d (diff) | |
download | scummvm-rg350-f08a767aa8b5c822f47b3931d7e8c71468112c94.tar.gz scummvm-rg350-f08a767aa8b5c822f47b3931d7e8c71468112c94.tar.bz2 scummvm-rg350-f08a767aa8b5c822f47b3931d7e8c71468112c94.zip |
This one looks wrong too, but I don't think it has caused any crash for me.
Not yet, at least. And now, hopefully, it never will.
svn-id: r17801
-rw-r--r-- | gob/scenery.cpp | 2 |
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); |