diff options
author | Nicola Mettifogo | 2008-12-26 05:44:32 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-12-26 05:44:32 +0000 |
commit | b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b (patch) | |
tree | a35e050b693a4cccfde29855f5d76c8100a63df7 /engines/parallaction/parallaction.cpp | |
parent | 751df013e1fb8e521028f2babb1ff47067723c04 (diff) | |
download | scummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.tar.gz scummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.tar.bz2 scummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.zip |
Fixed selection of invalid frame numbers. This means that most locations can be switched to and don't crash up anymore!
svn-id: r35550
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index f61947f29c..d8e5a43631 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -430,12 +430,6 @@ void Parallaction::drawAnimations() { AnimationPtr anim = *it; GfxObj *obj = anim->gfxobj; - // Validation is performed here, so that every animation is affected, instead that only the ones - // who *own* a script. In fact, some scripts can change values in other animations. - // The right way to do this would be to enforce validation when any variable is modified from - // a script. - anim->validateScriptVars(); - if ((anim->_flags & kFlagsActive) && ((anim->_flags & kFlagsRemove) == 0)) { if (anim->_flags & kFlagsNoMasked) { |