aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/polygons.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-11 23:10:12 +1000
committerPaul Gilbert2012-05-17 20:42:23 +1000
commit41692ef48ab9cb5b38d80e580316186e9c76cec5 (patch)
treec02fe2efac411d9a8423cf78d8cd165aa6f10bfc /engines/tinsel/polygons.cpp
parentc6810c174e06aa85fc58808f916c6e9cd1d989ea (diff)
downloadscummvm-rg350-41692ef48ab9cb5b38d80e580316186e9c76cec5.tar.gz
scummvm-rg350-41692ef48ab9cb5b38d80e580316186e9c76cec5.tar.bz2
scummvm-rg350-41692ef48ab9cb5b38d80e580316186e9c76cec5.zip
TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler
Diffstat (limited to 'engines/tinsel/polygons.cpp')
-rw-r--r--engines/tinsel/polygons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/polygons.cpp b/engines/tinsel/polygons.cpp
index 6fc1c65ec5..d8c1cef0b6 100644
--- a/engines/tinsel/polygons.cpp
+++ b/engines/tinsel/polygons.cpp
@@ -1469,7 +1469,7 @@ static void SetExTags(SCNHANDLE ph) {
pts = &TagStates[SceneTags[i].offset];
for (j = 0; j < SceneTags[i].nooftags; j++, pts++) {
if (!pts->enabled)
- DisableTag(nullContext, pts->tid);
+ DisableTag(Common::nullContext, pts->tid);
}
return;
}
@@ -1873,7 +1873,7 @@ void InitPolygons(SCNHANDLE ph, int numPoly, bool bRestart) {
} else {
for (int i = numPoly - 1; i >= 0; i--) {
if (Polys[i]->polyType == TAG) {
- PolygonEvent(nullContext, i, STARTUP, 0, false, 0);
+ PolygonEvent(Common::nullContext, i, STARTUP, 0, false, 0);
}
}
}