From 2adc1476000c43b66521f61b74f8659147ccb28a Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 2 Nov 2003 17:17:10 +0000 Subject: Moved some more "homeless" functions into Sword2Engine. (Don't worry -- I promise I will get rid of g_sword2 later.) svn-id: r11057 --- sword2/function.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword2/function.cpp') diff --git a/sword2/function.cpp b/sword2/function.cpp index 472f713092..586253314f 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -26,7 +26,7 @@ #include "sword2/defs.h" #include "sword2/function.h" #include "sword2/interpreter.h" -#include "sword2/layers.h" // for 'this_screen' structure +#include "sword2/layers.h" // for '_thisScreen' structure #include "sword2/logic.h" #include "sword2/protocol.h" #include "sword2/resman.h" @@ -372,7 +372,7 @@ int32 Logic::fnResetGlobals(int32 *params) { // - this is taken from fnInitBackground // switch on scrolling (2 means first time on screen) - this_screen.scroll_flag = 2; + g_sword2->_thisScreen.scroll_flag = 2; return IR_CONT; } -- cgit v1.2.3