aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/boutarel.cpp
diff options
context:
space:
mode:
authorJulien2012-07-22 21:14:48 -0400
committerJulien2012-07-27 00:14:55 -0400
commitc589e69ec9f29e59fc4358e5045fcc613f9ab6a8 (patch)
tree842b0864648e2fb1e0552e3f640e402b6a86e18c /engines/lastexpress/entities/boutarel.cpp
parent5d4a8f1e15c9b90209cbd4572ef17552cc06d65c (diff)
downloadscummvm-rg350-c589e69ec9f29e59fc4358e5045fcc613f9ab6a8.tar.gz
scummvm-rg350-c589e69ec9f29e59fc4358e5045fcc613f9ab6a8.tar.bz2
scummvm-rg350-c589e69ec9f29e59fc4358e5045fcc613f9ab6a8.zip
LASTEXPRESS: Replace TIME_CHECK_CALLBACK_ACTION macro
Diffstat (limited to 'engines/lastexpress/entities/boutarel.cpp')
-rw-r--r--engines/lastexpress/entities/boutarel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/boutarel.cpp b/engines/lastexpress/entities/boutarel.cpp
index 95ec37bf50..ab5f019c49 100644
--- a/engines/lastexpress/entities/boutarel.cpp
+++ b/engines/lastexpress/entities/boutarel.cpp
@@ -476,7 +476,8 @@ IMPLEMENT_FUNCTION_IS(17, Boutarel, function17, TimeValue)
break;
case kActionNone:
- TIME_CHECK_CALLBACK_ACTION(params->param1, params->param6);
+ if (Entity::timeCheckCallbackAction((TimeValue)params->param1, params->param6))
+ break;
if (params->param5) {
UPDATE_PARAM(params->param7, getState()->timeTicks, 90)