aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-16 20:14:33 +0200
committerEugene Sandulenko2019-09-03 17:17:21 +0200
commit505bd8b927773a42a0fbdae8a5e598263a4863ea (patch)
treeb35379e8ea635eb19d187bd4602a1ff3e124d40e /engines
parentfe0082b4d6e79ba788a0c72e04e911b5011ffc0e (diff)
downloadscummvm-rg350-505bd8b927773a42a0fbdae8a5e598263a4863ea.tar.gz
scummvm-rg350-505bd8b927773a42a0fbdae8a5e598263a4863ea.tar.bz2
scummvm-rg350-505bd8b927773a42a0fbdae8a5e598263a4863ea.zip
HDB: Fix warning
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-waypoint.cpp b/engines/hdb/ai-waypoint.cpp
index dac332863b..cbc9e9efc2 100644
--- a/engines/hdb/ai-waypoint.cpp
+++ b/engines/hdb/ai-waypoint.cpp
@@ -398,7 +398,7 @@ bool AI::traceStraightPath(int x1, int y1, int *x2, int *y2, int *level) {
// if it's blocking, is it rad or plasma? (might be melted stuff on it)
if (!ok) {
ok = ((flags & kFlagPlasmaFloor) == kFlagPlasmaFloor) +
- ((flags & kFlagPlasmaFloor) == kFlagRadFloor);
+ ((flags & kFlagRadFloor) == kFlagRadFloor);
e = findEntity(x1, y1);
if (e && g_hdb->_ai->walkThroughEnt(e->type))
entOK = 1;