aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/events.cpp')
-rw-r--r--engines/tinsel/events.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/events.cpp b/engines/tinsel/events.cpp
index 8064bdd3f3..311f1c0906 100644
--- a/engines/tinsel/events.cpp
+++ b/engines/tinsel/events.cpp
@@ -184,13 +184,13 @@ static void PolyTinselProcess(CORO_PARAM) {
void RunPolyTinselCode(HPOLYGON hPoly, USER_EVENT event, BUTEVENT be, bool tc) {
TP_INIT to = { hPoly, event, be, tc, 0 };
- CoroutineInstall(PID_TCODE, PolyTinselProcess, &to, sizeof(to));
+ ProcessCreate(PID_TCODE, PolyTinselProcess, &to, sizeof(to));
}
void effRunPolyTinselCode(HPOLYGON hPoly, USER_EVENT event, int actor) {
TP_INIT to = { hPoly, event, BE_NONE, false, actor };
- CoroutineInstall(PID_TCODE, PolyTinselProcess, &to, sizeof(to));
+ ProcessCreate(PID_TCODE, PolyTinselProcess, &to, sizeof(to));
}
//-----------------------------------------------------------------------
@@ -233,7 +233,7 @@ static void WalkProcess(CORO_PARAM) {
void walkto(int x, int y) {
WP_INIT to = { x, y };
- CoroutineInstall(PID_TCODE, WalkProcess, &to, sizeof(to));
+ ProcessCreate(PID_TCODE, WalkProcess, &to, sizeof(to));
}
/**