aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-28 23:36:00 +0300
committerEugene Sandulenko2013-04-28 23:59:21 +0300
commit6ca845b9ea0067b074f41a7b92d9d99a46d8fc82 (patch)
tree5faa38b31fb76a7be2094fa7dff1ff8fb00b92f6
parent3263a5eda652f21f4910c3c07534289d8d3300af (diff)
downloadscummvm-rg350-6ca845b9ea0067b074f41a7b92d9d99a46d8fc82.tar.gz
scummvm-rg350-6ca845b9ea0067b074f41a7b92d9d99a46d8fc82.tar.bz2
scummvm-rg350-6ca845b9ea0067b074f41a7b92d9d99a46d8fc82.zip
LASTEXPRESS: Fix nasty bug with multiline macro. CID 1003640
-rw-r--r--engines/lastexpress/entities/august.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/august.cpp b/engines/lastexpress/entities/august.cpp
index dbae7bad20..b0bc0732d4 100644
--- a/engines/lastexpress/entities/august.cpp
+++ b/engines/lastexpress/entities/august.cpp
@@ -3248,8 +3248,9 @@ IMPLEMENT_FUNCTION(63, August, function63)
break;
case kAction1:
- if (getEntities()->isInSalon(kEntityAlexei))
+ if (getEntities()->isInSalon(kEntityAlexei)) {
RESET_ENTITY_STATE(kEntityAlexei, Alexei, setup_function44);
+ }
getData()->inventoryItem = kItemNone;