summaryrefslogtreecommitdiff
path: root/src/actions/pets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r--src/actions/pets.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/actions/pets.cpp b/src/actions/pets.cpp
index fa413227f..109da80cd 100644
--- a/src/actions/pets.cpp
+++ b/src/actions/pets.cpp
@@ -85,6 +85,9 @@ impHandler(setPetName)
impHandler(petEmote)
{
+ if (!serverFeatures->haveTalkPet())
+ return false;
+
if (event.action >= InputAction::PET_EMOTE_1
&& event.action <= InputAction::PET_EMOTE_48)
{