summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index e155dc886..5d4e741c4 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1657,7 +1657,7 @@ void Being::petLogic()
setTileCoords(dstX, dstY);
Net::getPetHandler()->spawn(mOwner, dstX, dstY);
}
- else if (divX > followDist || divY > followDist)
+ else if (!followDist || divX > followDist || divY > followDist)
{
if (!dist)
{