diff options
-rw-r--r-- | engines/parallaction/objects.h | 1 | ||||
-rw-r--r-- | engines/parallaction/parser_ns.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h index 813f83d183..de740a631e 100644 --- a/engines/parallaction/objects.h +++ b/engines/parallaction/objects.h @@ -93,6 +93,7 @@ enum ZoneFlags { kFlagsYourself = 0x1000, kFlagsScaled = 0x2000, kFlagsSelfuse = 0x4000, + kFlagsIsAnimation = 0x1000000, // BRA: used in walk code (trap check), to tell is a Zone is an Animation kFlagsAnimLinked = 0x2000000 }; diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index b06eccc81c..88de7bc5f1 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -299,6 +299,7 @@ void LocationParser_ns::parseAnimation(AnimationList &list, char *name) { AnimationPtr a(new Animation); strncpy(a->_name, name, ZONENAME_LENGTH); + a->_flags |= kFlagsIsAnimation; list.push_front(AnimationPtr(a)); |