summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-25 02:30:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-25 02:30:47 +0300
commitc9795055ee1b6079ef9b0c0e3faf4bb79704bd98 (patch)
tree147357b76a80705cf0af7bc1ec69cf417ef94812 /src/actions
parent1e5a50f6c67cd20967e139320a6c00f54e15dfe2 (diff)
downloadmanaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.gz
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.bz2
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.xz
manaverse-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.zip
Add into player attributes prefix PLAYER_.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 1bb65fbed..615c081b3 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -566,7 +566,7 @@ impHandler0(healmd)
#endif
if (actorManager)
{
- const int matk = PlayerInfo::getStatEffective(Attributes::MATK);
+ const int matk = PlayerInfo::getStatEffective(Attributes::PLAYER_MATK);
int maxHealingRadius;
// magic levels < 2
@@ -601,7 +601,7 @@ impHandler0(itenplz)
{
if (playerHandler &&
playerHandler->canUseMagic() &&
- PlayerInfo::getAttribute(Attributes::MP) >= 3)
+ PlayerInfo::getAttribute(Attributes::PLAYER_MP) >= 3)
{
actorManager->itenplz();
}