summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index fed51529f..00ef62e0a 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3200,14 +3200,15 @@ void Being::fixPetSpawnPos(int &dstX, int &dstY) const
{
case LEFT:
offsetX = -offsetY1;
- offsetY = -offsetX1;
+ offsetY = offsetX1;
break;
case RIGHT:
offsetX = offsetY1;
- offsetY = offsetX1;
+ offsetY = -offsetX1;
break;
case UP:
offsetY = -offsetY;
+ offsetX = -offsetX;
break;
default:
case DOWN: