aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-12 12:43:52 +0000
committerJohannes Schickel2008-05-12 12:43:52 +0000
commit279987c181b5c5e6d6810c3f23a63eab5fb4c999 (patch)
treec5dbf8540b51ce15bfb762c97a1117705d93cc3e /engines/kyra
parent574af78acb793b23b22f3a47d201d4074387304e (diff)
downloadscummvm-rg350-279987c181b5c5e6d6810c3f23a63eab5fb4c999.tar.gz
scummvm-rg350-279987c181b5c5e6d6810c3f23a63eab5fb4c999.tar.bz2
scummvm-rg350-279987c181b5c5e6d6810c3f23a63eab5fb4c999.zip
Oops forgot to commit module.mk
svn-id: r32054
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/module.mk1
-rw-r--r--engines/kyra/script_v1.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/module.mk b/engines/kyra/module.mk
index b027459613..ebb63b4b4e 100644
--- a/engines/kyra/module.mk
+++ b/engines/kyra/module.mk
@@ -36,6 +36,7 @@ MODULE_OBJS := \
screen_v2.o \
screen_hof.o \
screen_mr.o \
+ script_v1.o \
script_lok.o \
script_v2.o \
script_hof.o \
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp
index 150b736865..40c82ff00a 100644
--- a/engines/kyra/script_v1.cpp
+++ b/engines/kyra/script_v1.cpp
@@ -24,6 +24,7 @@
*/
#include "kyra/kyra_v1.h"
+#include "kyra/screen.h"
namespace Kyra {
@@ -50,13 +51,13 @@ int KyraEngine_v1::o1_getRand(EMCState *script) {
int KyraEngine_v1::o1_hideMouse(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v1::o1_hideMouse(%p) ()", (const void *)script);
- _screen->hideMouse();
+ screen()->hideMouse();
return 0;
}
int KyraEngine_v1::o1_showMouse(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v1::o1_showMouse(%p) ()", (const void *)script);
- _screen->showMouse();
+ screen()->showMouse();
return 0;
}