From a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:59 +0300 Subject: Add missing const in net directory. --- src/net/eathena/petrecv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/petrecv.cpp') diff --git a/src/net/eathena/petrecv.cpp b/src/net/eathena/petrecv.cpp index 284ada80b..da209e268 100644 --- a/src/net/eathena/petrecv.cpp +++ b/src/net/eathena/petrecv.cpp @@ -54,7 +54,7 @@ void PetRecv::processPetMessage(Net::MessageIn &msg) { const BeingId id = msg.readBeingId("pet id"); const int data = msg.readInt32("param"); - Being *const dstBeing = actorManager->findBeing(id); + const Being *const dstBeing = actorManager->findBeing(id); if (!dstBeing) return; @@ -98,7 +98,7 @@ void PetRecv::processPetRoulette(Net::MessageIn &msg) void PetRecv::processEggsList(Net::MessageIn &msg) { const int count = (msg.readInt16("len") - 4) / 2; - Inventory *const inv = PlayerInfo::getInventory(); + const Inventory *const inv = PlayerInfo::getInventory(); if (!inv) return; menu = MenuType::Eggs; -- cgit v1.2.3-60-g2f50