diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-11 23:00:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-11 23:00:47 +0300 |
commit | 0fa192854595ebe03cce54ad2b251abc4c8e8827 (patch) | |
tree | b0129f65bc0a70926adea202756d0794db974980 /src/commands.cpp | |
parent | f9209b4a764e85a7ae0e40eee654b543d2ccf2ae (diff) | |
download | manaverse-0fa192854595ebe03cce54ad2b251abc4c8e8827.tar.gz manaverse-0fa192854595ebe03cce54ad2b251abc4c8e8827.tar.bz2 manaverse-0fa192854595ebe03cce54ad2b251abc4c8e8827.tar.xz manaverse-0fa192854595ebe03cce54ad2b251abc4c8e8827.zip |
add support for multiply pets for one player at same time.
But one item still can have only one pet.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |