aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2003-11-08 23:20:23 +0000
committerGregory Montoir2003-11-08 23:20:23 +0000
commite01e3ae46373b8af39daab782a6642f12da8f937 (patch)
treea9f9a690f91fd394cdcd7d81cb19baa051d7756e
parent1f99fbe77c50b85afe124028be380d8b78bb6b61 (diff)
downloadscummvm-rg350-e01e3ae46373b8af39daab782a6642f12da8f937.tar.gz
scummvm-rg350-e01e3ae46373b8af39daab782a6642f12da8f937.tar.bz2
scummvm-rg350-e01e3ae46373b8af39daab782a6642f12da8f937.zip
fix bad animation string at amazon entrance room
svn-id: r11222
-rw-r--r--queen/logic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp
index 6f04a5990f..966cea1839 100644
--- a/queen/logic.cpp
+++ b/queen/logic.cpp
@@ -1379,8 +1379,8 @@ uint16 Logic::personAllocate(uint16 noun, uint16 curImage) {
}
if (actor > 0) {
- const char *animStr = _aAnim[_actorData[actor].actorFile];
- if (animStr[0] != '\0') {
+ const char *animStr = _aAnim[_actorData[actor].anim];
+ if (animStr) {
bool allocatedFrames[256];
memset(allocatedFrames, 0, sizeof(allocatedFrames));
uint16 f1, f2;