aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting/controls/hotmov_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/scripting/controls/hotmov_control.cpp')
-rw-r--r--engines/zvision/scripting/controls/hotmov_control.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/scripting/controls/hotmov_control.cpp b/engines/zvision/scripting/controls/hotmov_control.cpp
index 1e1886e1a8..8ffc3392be 100644
--- a/engines/zvision/scripting/controls/hotmov_control.cpp
+++ b/engines/zvision/scripting/controls/hotmov_control.cpp
@@ -80,8 +80,7 @@ HotMovControl::HotMovControl(ZVision *engine, uint32 key, Common::SeekableReadSt
char filename[64];
sscanf(values.c_str(), "%s", filename);
values = Common::String(filename);
- if (values.hasSuffix(".avi") || values.hasSuffix(".rlf"))
- _animation = new MetaAnimation(values, _engine);
+ _animation = new MetaAnimation(values, _engine);
} else if (param.matchString("venus_id", true)) {
_venus_id = atoi(values.c_str());
}