aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel/kernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/kernel/kernel.cpp')
-rw-r--r--engines/sword25/kernel/kernel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword25/kernel/kernel.cpp b/engines/sword25/kernel/kernel.cpp
index cccfc6ea53..cbe71edcbb 100644
--- a/engines/sword25/kernel/kernel.cpp
+++ b/engines/sword25/kernel/kernel.cpp
@@ -430,12 +430,14 @@ ScriptEngine *Kernel::GetScript() {
// -----------------------------------------------------------------------------
+#ifdef ENABLE_THEORA
/**
* Returns a pointer to the movie player, or NULL if it is not active
*/
MoviePlayer *Kernel::GetFMV() {
return static_cast<MoviePlayer *>(GetService("fmv"));
}
+#endif
// -----------------------------------------------------------------------------