aboutsummaryrefslogtreecommitdiff
path: root/sword2/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r--sword2/logic.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index 3dd94a7af6..0e39af8b72 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -185,7 +185,7 @@ int Logic::processSession(void) {
// clear any syncs that were waiting for this character - it
// has used them or now looses them
- Clear_syncs(ID);
+ clearSyncs(ID);
if (_pc != 0xffffffff) {
// the session is still valid so run the service script
@@ -232,16 +232,16 @@ void Logic::expressChangeSession(uint32 sesh_id) {
// in theory sync waiting in the list could be left behind and never
// removed - so we trash the lot
- Init_sync_system();
+ memset(_syncList, 0, sizeof(_syncList));
// reset walkgrid list (see fnRegisterWalkGrid)
- router.clearWalkGridList();
+ _router->clearWalkGridList();
// stops all fx & clears the queue
- g_sword2->clearFxQueue();
+ _vm->clearFxQueue();
// free all the route memory blocks from previous game
- router.freeAllRouteMem();
+ _router->freeAllRouteMem();
}
/**