summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 51d9cab9c..1657192bb 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -870,8 +870,12 @@ void Game::handleMove()
localPlayer->cancelFollow();
}
- if (!inputManager.isActionActive(InputAction::EMOTE) || direction == 0)
+ if ((!inputManager.isActionActive(InputAction::EMOTE)
+ && !inputManager.isActionActive(InputAction::PET_EMOTE))
+ || direction == 0)
+ {
moveInDirection(direction);
+ }
}
BLOCK_END("Game::handleMove")
}