diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-17 15:32:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-17 15:32:42 +0300 |
commit | 0d355e3126ab7e0a88bd8e54ce724498f6828c01 (patch) | |
tree | dccbf92259f29f2dbf6ee8fc72f831c8917ee7b2 /src/actions/pets.cpp | |
parent | d7a4988bffc489e9584def3ce65ebe2b8f4ca0b0 (diff) | |
download | mv-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.gz mv-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.bz2 mv-0d355e3126ab7e0a88bd8e54ce724498f6828c01.tar.xz mv-0d355e3126ab7e0a88bd8e54ce724498f6828c01.zip |
eathena: add pet emote command.
Diffstat (limited to 'src/actions/pets.cpp')
-rw-r--r-- | src/actions/pets.cpp | 3 |
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) { |