aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorAlyssa Milburn2011-04-14 18:45:42 +0200
committerAlyssa Milburn2011-04-14 18:45:45 +0200
commita762173794935efe4ab4d229fdc73f4d9c65e5ab (patch)
tree86f2958d07e007b258b7affa1bc93765d419476e /engines
parent2ac86f8140adde218086a8ccd17880e5eb90887d (diff)
downloadscummvm-rg350-a762173794935efe4ab4d229fdc73f4d9c65e5ab.tar.gz
scummvm-rg350-a762173794935efe4ab4d229fdc73f4d9c65e5ab.tar.bz2
scummvm-rg350-a762173794935efe4ab4d229fdc73f4d9c65e5ab.zip
SWORD25: Always create the MoviePlayer, even without USE_THEORADEC.
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/kernel/kernel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sword25/kernel/kernel.cpp b/engines/sword25/kernel/kernel.cpp
index 6b99b0a115..99fec52040 100644
--- a/engines/sword25/kernel/kernel.cpp
+++ b/engines/sword25/kernel/kernel.cpp
@@ -95,10 +95,8 @@ Kernel::Kernel() :
_geometry = new Geometry(this);
assert(_geometry);
-#ifdef USE_THEORADEC
_fmv = new MoviePlayer(this);
assert(_fmv);
-#endif
_initSuccess = true;
}
@@ -121,10 +119,8 @@ Kernel::~Kernel() {
delete _geometry;
_geometry = 0;
-#ifdef USE_THEORADEC
delete _fmv;
_fmv = 0;
-#endif
delete _script;
_script = 0;