aboutsummaryrefslogtreecommitdiff
path: root/sword2/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/events.cpp')
-rw-r--r--sword2/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/events.cpp b/sword2/events.cpp
index 0a270283f7..c5924f445a 100644
--- a/sword2/events.cpp
+++ b/sword2/events.cpp
@@ -87,7 +87,7 @@ void Sword2Engine::startEvent(void) {
for (int i = 0; i < MAX_events; i++) {
if (_eventList[i].id == ID) {
// run 3rd script of target object on level 1
- g_logic.logicOne(_eventList[i].interact_id);
+ g_logic->logicOne(_eventList[i].interact_id);
// clear the slot
_eventList[i].id = 0;