aboutsummaryrefslogtreecommitdiff
path: root/sword1/eventman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword1/eventman.cpp')
-rw-r--r--sword1/eventman.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sword1/eventman.cpp b/sword1/eventman.cpp
index 02ba1874ab..24a6cb91be 100644
--- a/sword1/eventman.cpp
+++ b/sword1/eventman.cpp
@@ -46,9 +46,9 @@ void EventManager::checkForEvent(Object *compact) {
compact->o_logic = LOGIC_script; //force into script mode
_eventPendingList[globCnt].delay = 0; //started, so remove from queue
compact->o_tree.o_script_level++;
- compact->o_tree.o_script_id[compact->o_tree.o_script_level] =
+ compact->o_tree.o_script_id[compact->o_tree.o_script_level] =
compact->o_event_list[objCnt].o_event_script;
- compact->o_tree.o_script_pc[compact->o_tree.o_script_level] =
+ compact->o_tree.o_script_pc[compact->o_tree.o_script_level] =
compact->o_event_list[objCnt].o_event_script;
}
}
@@ -78,9 +78,9 @@ int EventManager::fnCheckForEvent(Object *cpt, int32 id, int32 pause) {
cpt->o_logic = LOGIC_script; //force into script mode
_eventPendingList[globCnt].delay = 0; //started, so remove from queue
cpt->o_tree.o_script_level++;
- cpt->o_tree.o_script_id[cpt->o_tree.o_script_level] =
+ cpt->o_tree.o_script_id[cpt->o_tree.o_script_level] =
cpt->o_event_list[objCnt].o_event_script;
- cpt->o_tree.o_script_pc[cpt->o_tree.o_script_level] =
+ cpt->o_tree.o_script_pc[cpt->o_tree.o_script_level] =
cpt->o_event_list[objCnt].o_event_script;
return SCRIPT_STOP;
}