summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index fc2f2f2d..8c7f45bb 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -680,7 +680,7 @@ void Being::logic()
mPath.front().y);
// Avoid going to flawed destinations
- if (mDest.x <= 0 && mDest.y <= 0)
+ if (mDest.x <= 0 || mDest.y <= 0)
{
// We make the being stop move in that case.
mDest = mPos;