From 279987c181b5c5e6d6810c3f23a63eab5fb4c999 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 12 May 2008 12:43:52 +0000 Subject: Oops forgot to commit module.mk svn-id: r32054 --- engines/kyra/module.mk | 1 + engines/kyra/script_v1.cpp | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/kyra') 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; } -- cgit v1.2.3