diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-22 11:42:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-22 11:42:07 +0300 |
commit | f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573 (patch) | |
tree | dfe816d4513554aa97ebc50824aec43d8620e7bc /src | |
parent | 76f6e6411a11dbe380b7f9c7db5e53c38a36d46b (diff) | |
download | manaplus-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.gz manaplus-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.bz2 manaplus-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.xz manaplus-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.zip |
eathena: set menu in pet handler.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/pethandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 9fb6ecdfd..bb513b6ac 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -27,6 +27,7 @@ #include "net/chathandler.h" #include "net/net.h" +#include "net/eathena/menu.h" #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -147,6 +148,7 @@ void PetHandler::processPetRoulette(Net::MessageIn &msg) void PetHandler::processEggsList(Net::MessageIn &msg) { const int count = (msg.readInt16("len") - 4) / 2; + menu = MenuType::Eggs; for (int f = 0; f < count; f ++) { msg.readInt16("egg index"); |