diff options
Diffstat (limited to 'engines/zvision/scripting/sidefx')
-rw-r--r-- | engines/zvision/scripting/sidefx/animation_node.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/zvision/scripting/sidefx/animation_node.cpp b/engines/zvision/scripting/sidefx/animation_node.cpp index 4a606adc9e..bd9c543d52 100644 --- a/engines/zvision/scripting/sidefx/animation_node.cpp +++ b/engines/zvision/scripting/sidefx/animation_node.cpp @@ -40,12 +40,8 @@ AnimationNode::AnimationNode(ZVision *engine, uint32 controlKey, const Common::S _mask(mask), _animation(NULL) { - if (fileName.hasSuffix(".rlf") || fileName.hasSuffix(".avi")) { - _animation = new MetaAnimation(fileName, engine); - _frmDelay = _animation->frameTime(); - } else { - warning("Unrecognized animation file type: %s", fileName.c_str()); - } + _animation = new MetaAnimation(fileName, engine); + _frmDelay = _animation->frameTime(); if (frate > 0) _frmDelay = 1000.0 / frate; |