summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-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");