summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-08 01:26:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-08 01:39:32 +0300
commit14f8745ad9cbda7642b3c670bc509bcde5f13381 (patch)
treebad1a56a6d6ece65d49c49a61a26f3e178e46712 /src/being
parent492e264019c5c195b22568e9cdf9a5e87d0d9c03 (diff)
downloadplus-14f8745ad9cbda7642b3c670bc509bcde5f13381.tar.gz
plus-14f8745ad9cbda7642b3c670bc509bcde5f13381.tar.bz2
plus-14f8745ad9cbda7642b3c670bc509bcde5f13381.tar.xz
plus-14f8745ad9cbda7642b3c670bc509bcde5f13381.zip
Remove itemslot.h.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index c7078156d..2766a31b1 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -38,6 +38,8 @@
#include "const/sound.h"
+#include "enums/equipslot.h"
+
#include "enums/being/beingdirection.h"
#include "enums/resources/map/blockmask.h"
@@ -70,7 +72,6 @@
#include "net/serverfeatures.h"
#include "resources/iteminfo.h"
-#include "resources/itemslot.h"
#include "resources/db/weaponsdb.h"
@@ -960,7 +961,7 @@ int LocalPlayer::getAttackRange() const
else
{
const Item *const weapon = PlayerInfo::getEquipment(
- ItemSlot::FIGHT1_SLOT);
+ EquipSlot::FIGHT1_SLOT);
if (weapon)
{
const ItemInfo &info = weapon->getInfo();