diff options
author | Torbjörn Andersson | 2003-11-02 17:17:10 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-02 17:17:10 +0000 |
commit | 2adc1476000c43b66521f61b74f8659147ccb28a (patch) | |
tree | c2c152fb9e5d6339d5130d8114274e5db6c317f3 /sword2/function.cpp | |
parent | c4404baa45f67f2f5cf5241b1c77fc16d6b12585 (diff) | |
download | scummvm-rg350-2adc1476000c43b66521f61b74f8659147ccb28a.tar.gz scummvm-rg350-2adc1476000c43b66521f61b74f8659147ccb28a.tar.bz2 scummvm-rg350-2adc1476000c43b66521f61b74f8659147ccb28a.zip |
Moved some more "homeless" functions into Sword2Engine. (Don't worry -- I
promise I will get rid of g_sword2 later.)
svn-id: r11057
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r-- | sword2/function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |