summaryrefslogtreecommitdiff
path: root/src/actions/pets.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-17 15:32:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-17 15:32:42 +0300
commit0d355e3126ab7e0a88bd8e54ce724498f6828c01 (patch)
treedccbf92259f29f2dbf6ee8fc72f831c8917ee7b2 /src/actions/pets.cpp
parentd7a4988bffc489e9584def3ce65ebe2b8f4ca0b0 (diff)
downloadplus-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.gz
plus-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.bz2
plus-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.xz
plus-0d355e3126ab7e0a88bd8e54ce724498f6828c01.zip
eathena: add pet emote command.
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)
{