diff options
-rw-r--r-- | queen/logic.cpp | 4 |
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; |