Moved some more "homeless" functions into Sword2Engine. (Don't worry -- I
promise I will get rid of g_sword2 later.) svn-id: r11057
This commit is contained in:
parent
c4404baa45
commit
2adc147600
12 changed files with 191 additions and 186 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue