summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 235bd6455..7a3a198c1 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1713,7 +1713,8 @@ void Being::petLogic()
}
if (mAction == STAND)
{
- const int directionType = mInfo->getDirectionType();
+ const int directionType = mOwner->getCurrentAction() != SIT
+ ? mInfo->getDirectionType() : mInfo->getSitDirectionType();
int newDir = 0;
switch (directionType)
{