aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-28 23:48:53 +0300
committerEugene Sandulenko2013-04-28 23:59:21 +0300
commit18413bc0b3e02f40f3860e5b0ce8e4b593f72f0b (patch)
treeb1ab7c1f5f91d2ca3619bed36cdc82ae193c7e67 /engines
parent6ca845b9ea0067b074f41a7b92d9d99a46d8fc82 (diff)
downloadscummvm-rg350-18413bc0b3e02f40f3860e5b0ce8e4b593f72f0b.tar.gz
scummvm-rg350-18413bc0b3e02f40f3860e5b0ce8e4b593f72f0b.tar.bz2
scummvm-rg350-18413bc0b3e02f40f3860e5b0ce8e4b593f72f0b.zip
LASTEXPRESS: Fix multiline macros. CID 1003638
Diffstat (limited to 'engines')
-rw-r--r--engines/lastexpress/entities/kahina.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/kahina.cpp b/engines/lastexpress/entities/kahina.cpp
index 7860836a26..467c8d8b3c 100644
--- a/engines/lastexpress/entities/kahina.cpp
+++ b/engines/lastexpress/entities/kahina.cpp
@@ -723,8 +723,9 @@ IMPLEMENT_FUNCTION_II(19, Kahina, function19, CarIndex, EntityPosition)
break;
case kActionNone:
- if (getEvent(kEventAnnaBaggageArgument))
+ if (getEvent(kEventAnnaBaggageArgument)) {
RESET_ENTITY_STATE(kEntityKahina, Kahina, setup_function22);
+ }
if (getEntities()->updateEntity(kEntityKahina, (CarIndex)params->param1, (EntityPosition)params->param2))
callbackAction();