diff options
-rw-r--r-- | engines/kyra/module.mk | 1 | ||||
-rw-r--r-- | engines/kyra/script_v1.cpp | 5 |
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; } |