aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai-funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index a633952428..afd6f3a761 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -2351,7 +2351,7 @@ void AI::movePlayer(uint16 buttons) {
// there's a possibility that an actual entity and a LUA entity
// can share the same spot, so we need to be able to deal with
// the real entity first, then the LUA entity.
- if (!hit || (hit && hit->type == AI_NONE)) {
+ if (!hit || hit->type == AI_NONE) {
switch (_player->state) {
case STATE_STANDUP:
case STATE_STANDDOWN: