aboutsummaryrefslogtreecommitdiff
path: root/sword2/logic.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-12 14:40:04 +0000
committerTorbjörn Andersson2003-10-12 14:40:04 +0000
commit1b52e11d559aa7c8df48bb114d4dd4dfb02a0770 (patch)
tree0ba7823c0b821fa787c2c35a88e53a35163d394c /sword2/logic.cpp
parentc38ca923d8c8646fda3df4da2b5934feffe5395b (diff)
downloadscummvm-rg350-1b52e11d559aa7c8df48bb114d4dd4dfb02a0770.tar.gz
scummvm-rg350-1b52e11d559aa7c8df48bb114d4dd4dfb02a0770.tar.bz2
scummvm-rg350-1b52e11d559aa7c8df48bb114d4dd4dfb02a0770.zip
Moved the "router" code into a new Router class. I'm hoping this is
analogous to the SkyAutoRoute class. svn-id: r10754
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r--sword2/logic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index dfec05368e..4dc4123f77 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -23,7 +23,7 @@
#include "bs2/debug.h"
#include "bs2/interpreter.h"
#include "bs2/logic.h"
-#include "bs2/router.h" // for ClearWalkGridList()
+#include "bs2/router.h" // for clearWalkGridList()
#include "bs2/sound.h"
#include "bs2/sync.h"
@@ -237,13 +237,13 @@ void logic::expressChangeSession(uint32 sesh_id) {
Init_sync_system();
// reset walkgrid list (see FN_register_walkgrid)
- ClearWalkGridList();
+ router.clearWalkGridList();
// stops all fx & clears the queue
Clear_fx_queue();
// free all the route memory blocks from previous game
- FreeAllRouteMem();
+ router.freeAllRouteMem();
}
void logic::naturalChangeSession(uint32 sesh_id) {