aboutsummaryrefslogtreecommitdiff
path: root/sword2/events.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-30 06:40:01 +0000
committerTorbjörn Andersson2003-09-30 06:40:01 +0000
commitb8fa67a8bbd51e25e96d019fa0e2d942bb0bc6c9 (patch)
tree5d0b9239e7947ed45d18e079ae74133610baa20f /sword2/events.cpp
parentbca464fdf48b9c641baa7e5c42571756e500f056 (diff)
downloadscummvm-rg350-b8fa67a8bbd51e25e96d019fa0e2d942bb0bc6c9.tar.gz
scummvm-rg350-b8fa67a8bbd51e25e96d019fa0e2d942bb0bc6c9.tar.bz2
scummvm-rg350-b8fa67a8bbd51e25e96d019fa0e2d942bb0bc6c9.zip
Changed the "logic" object to use ScummVM naming conventions.
svn-id: r10496
Diffstat (limited to 'sword2/events.cpp')
-rw-r--r--sword2/events.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/events.cpp b/sword2/events.cpp
index c7294bbcdd..14118c49a9 100644
--- a/sword2/events.cpp
+++ b/sword2/events.cpp
@@ -214,7 +214,7 @@ int32 FN_check_for_event(int32 *params) {
if (event_list[j].id == ID) {
// start the event
// run 3rd script of target object on level 1
- LLogic.Logic_one(event_list[j].interact_id);
+ LLogic.logicOne(event_list[j].interact_id);
// clear the event slot
event_list[j].id = 0;
return IR_TERMINATE;
@@ -245,7 +245,7 @@ int32 FN_pause_for_event(int32 *params) {
// start the event
// run 3rd script of target object on level 1
- LLogic.Logic_one(event_list[j].interact_id);
+ LLogic.logicOne(event_list[j].interact_id);
// clear the event slot
event_list[j].id = 0;
@@ -311,7 +311,7 @@ void Start_event(void) {
for (int j = 0; j < MAX_events; j++) {
if (event_list[j].id == ID) {
// run 3rd script of target object on level 1
- LLogic.Logic_one( event_list[j].interact_id);
+ LLogic.logicOne(event_list[j].interact_id);
//clear the slot
event_list[j].id = 0;
@@ -327,7 +327,7 @@ int32 FN_start_event(int32 *params) {
for (int j = 0; j < MAX_events; j++)
if (event_list[j].id == ID) {
// run 3rd script of target object on level 1
- LLogic.Logic_one(event_list[j].interact_id);
+ LLogic.logicOne(event_list[j].interact_id);
// clear the slot
event_list[j].id = 0;