From f1812857720449697c9106a7a3776b7202258cb3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Nov 2015 19:02:45 +0300 Subject: Fix code style in beingequipbackend and add some consts to it. --- src/being/playerinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/playerinfo.cpp') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index a374d8b5b..0f9eb6b6c 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -234,7 +234,7 @@ Equipment *getEquipment() return mEquipment; } -Item *getEquipment(const unsigned int slot) +const Item *getEquipment(const unsigned int slot) { if (mEquipment) return mEquipment->getEquipment(slot); -- cgit v1.2.3-60-g2f50