From 87c59212f8590a8dd72fac3e320fcb2ada781355 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 May 2014 19:28:57 +0300 Subject: Move player attributes into separate file. --- src/actionmanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actionmanager.cpp') diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 464403eb2..444bf4134 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -27,6 +27,7 @@ #include "itemshortcut.h" #include "soundmanager.h" +#include "being/attributes.h" #include "being/localplayer.h" #include "being/playerinfo.h" #include "being/playerrelations.h" @@ -426,7 +427,7 @@ impHandler0(itenplz) if (actorManager) { if (Net::getPlayerHandler() && Net::getPlayerHandler()->canUseMagic() - && PlayerInfo::getAttribute(PlayerInfo::MP) >= 3) + && PlayerInfo::getAttribute(Attributes::MP) >= 3) { actorManager->itenplz(); } -- cgit v1.2.3-60-g2f50