From 0fa192854595ebe03cce54ad2b251abc4c8e8827 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Jan 2014 23:00:47 +0300 Subject: add support for multiply pets for one player at same time. But one item still can have only one pet. --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 96369c53e..10abd6d43 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1261,7 +1261,7 @@ impHandler1(talkRaw) impHandler1(talkPet) { // in future probably need add channel detection - if (player_node->getPet()) + if (!player_node->getPets().empty()) Net::getChatHandler()->talkPet(args, GENERAL_CHANNEL); else Net::getChatHandler()->talk(args, GENERAL_CHANNEL); -- cgit v1.2.3-70-g09d2