summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-22 11:42:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-22 11:42:07 +0300
commitf7e32db400bcfdd1b5f3c30d817ceeae5e1dc573 (patch)
treedfe816d4513554aa97ebc50824aec43d8620e7bc /src/net/eathena/pethandler.cpp
parent76f6e6411a11dbe380b7f9c7db5e53c38a36d46b (diff)
downloadmanaverse-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.gz
manaverse-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.bz2
manaverse-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.tar.xz
manaverse-f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573.zip
eathena: set menu in pet handler.
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp2
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");