diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 75347a9aa..8b25984b5 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1252,6 +1252,15 @@ impHandler1(talkRaw) Net::getChatHandler()->talkRaw(args); } +impHandler1(talkPet) +{ + // in future probably need add channel detection + if (player_node->getPet()) + Net::getChatHandler()->talkPet(args, GENERAL_CHANNEL); + else + Net::getChatHandler()->talk(args, GENERAL_CHANNEL); +} + impHandler0(testsdlfont) { #if defined USE_OPENGL && defined DEBUG_SDLFONT |