From 1b52e11d559aa7c8df48bb114d4dd4dfb02a0770 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 12 Oct 2003 14:40:04 +0000 Subject: Moved the "router" code into a new Router class. I'm hoping this is analogous to the SkyAutoRoute class. svn-id: r10754 --- sword2/logic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sword2/logic.cpp') 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) { -- cgit v1.2.3