From f7e32db400bcfdd1b5f3c30d817ceeae5e1dc573 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Sep 2014 11:42:07 +0300 Subject: eathena: set menu in pet handler. --- src/net/eathena/pethandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net') 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"); -- cgit v1.2.3-70-g09d2