From cfa5391c1be51ef49380e398a72c813255d6316e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Aug 2012 00:45:24 +0300 Subject: first part of checks and style fixes. --- src/net/eathena/playerhandler.cpp | 2 +- src/net/eathena/playerhandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 13a6ec018..1054cd877 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -156,7 +156,7 @@ void PlayerHandler::increaseSkill(unsigned short skillId) outMsg.writeInt16(skillId); } -void PlayerHandler::pickUp(FloorItem *floorItem) +void PlayerHandler::pickUp(const FloorItem *floorItem) { if (!floorItem) return; diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h index a6d5be102..c0a04a52e 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/playerhandler.h @@ -47,7 +47,7 @@ class PlayerHandler : public MessageHandler, public Ea::PlayerHandler void increaseAttribute(int attr); void increaseSkill(unsigned short skillId); - void pickUp(FloorItem *floorItem); + void pickUp(const FloorItem *floorItem); void setDirection(char direction); void setDestination(int x, int y, int direction = -1); void changeAction(Being::Action action); -- cgit v1.2.3-60-g2f50