diff options
author | Torbjörn Andersson | 2003-11-04 18:02:49 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-11-04 18:02:49 +0000 |
commit | ba098a3a5b27967c5e3f629cb6e8a0dc453aded8 (patch) | |
tree | 54e9193bc66152082fdade1221b313c92aeb2ac7 /sword2/events.cpp | |
parent | 64ec1907c2d99e7ecc46e0a5d5605e474c548248 (diff) | |
download | scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.gz scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.tar.bz2 scummvm-rg350-ba098a3a5b27967c5e3f629cb6e8a0dc453aded8.zip |
Create g_logic dynamically. More moving of stuff into classes.
svn-id: r11129
Diffstat (limited to 'sword2/events.cpp')
-rw-r--r-- | sword2/events.cpp | 2 |
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; |