diff options
author | Torbjörn Andersson | 2003-10-21 08:54:50 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-21 08:54:50 +0000 |
commit | 3be2f0f1e08fc191e9f092380845919778e77a58 (patch) | |
tree | a3f45971b122f2598e0ea4713aa204c7cf18ba6d /sword2/logic.cpp | |
parent | ed0c30fcbf7f0fdd2633451c894ea7bd4980076c (diff) | |
download | scummvm-rg350-3be2f0f1e08fc191e9f092380845919778e77a58.tar.gz scummvm-rg350-3be2f0f1e08fc191e9f092380845919778e77a58.tar.bz2 scummvm-rg350-3be2f0f1e08fc191e9f092380845919778e77a58.zip |
Moved some more stuff into the Logic class.
svn-id: r10923
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r-- | sword2/logic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp index c3654ba042..1a7c0e79de 100644 --- a/sword2/logic.cpp +++ b/sword2/logic.cpp @@ -126,7 +126,7 @@ int Logic::processSession(void) { raw_script_ad = (char*) head; // script and data object are us/same - ret = RunScript(raw_script_ad, raw_script_ad, &_curObjectHub->script_pc[LEVEL]); + ret = runScript(raw_script_ad, raw_script_ad, &_curObjectHub->script_pc[LEVEL]); } else { // we're running the script of another game // object - get our data object address @@ -147,7 +147,7 @@ int Logic::processSession(void) { raw_script_ad = (char*) far_head; - ret = RunScript(raw_script_ad, raw_data_ad, &_curObjectHub->script_pc[LEVEL]); + ret = runScript(raw_script_ad, raw_data_ad, &_curObjectHub->script_pc[LEVEL]); // close foreign object again res_man.close(script / SIZE); @@ -199,7 +199,7 @@ int Logic::processSession(void) { // call the base script - this is the graphic/mouse // service call - RunScript(raw_script_ad, raw_script_ad, &null_pc); + runScript(raw_script_ad, raw_script_ad, &null_pc); } // made for all live objects |