summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index 00dc27c07..50fd3d53c 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -35,7 +35,6 @@
#include "gui/widgets/tabs/chattab.h"
#include "net/chathandler.h"
-#include "net/net.h"
#include "net/ea/eaprotocol.h"
@@ -268,6 +267,7 @@ void PetHandler::processPetStatus(Net::MessageIn &msg)
PetInfo *const info = PlayerInfo::getPet();
if (!info)
return;
+ info->name = name;
info->level = level;
info->hungry = hungry;
info->intimacy = intimacy;