aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/mertens.cpp
diff options
context:
space:
mode:
authorD G Turner2018-09-24 18:43:35 +0100
committerD G Turner2018-09-24 18:43:35 +0100
commitf1ded1f111e1a194cd14d47db99fec363a8a0478 (patch)
tree53844239e5eabcff95f2fad0e42268c7d78a4922 /engines/lastexpress/entities/mertens.cpp
parent638e8442867f0ffd3194fd4527f2af05c8671381 (diff)
downloadscummvm-rg350-f1ded1f111e1a194cd14d47db99fec363a8a0478.tar.gz
scummvm-rg350-f1ded1f111e1a194cd14d47db99fec363a8a0478.tar.bz2
scummvm-rg350-f1ded1f111e1a194cd14d47db99fec363a8a0478.zip
LASTEXPRESS: Fix GCC Warnings
These were for missing parentheses to clarify logical expressions.
Diffstat (limited to 'engines/lastexpress/entities/mertens.cpp')
-rw-r--r--engines/lastexpress/entities/mertens.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/mertens.cpp b/engines/lastexpress/entities/mertens.cpp
index cb2311fddd..1140bfabe2 100644
--- a/engines/lastexpress/entities/mertens.cpp
+++ b/engines/lastexpress/entities/mertens.cpp
@@ -588,7 +588,7 @@ IMPLEMENT_FUNCTION_II(13, Mertens, function13, bool, EntityIndex)
if (!getSoundQueue()->isBuffered(kEntityMertens)) {
if (getProgress().chapter == kChapter3 && !params->param1 && getState()->time < kTime2173500 &&
- (getState()->time > kTime2106000 || params->param2 != kEntityPlayer && getState()->time > kTime2079000)) {
+ (getState()->time > kTime2106000 || (params->param2 != kEntityPlayer && getState()->time > kTime2079000))) {
// guide guests to the concert
if (params->param2 == kEntityAugust)
getSound()->playSound(kEntityMertens, "CON3052");