summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 21:42:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 22:43:38 +0300
commit3411edb5d3ae07d247421e4b8f7936a22b7b4027 (patch)
tree63685d0979938a42a62b3f0a880663bb06f4e8ca /src/being/localplayer.cpp
parent390e5da0f9ecc4407aa7d4bcba1af5730db56271 (diff)
downloadmanaplus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.gz
manaplus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.bz2
manaplus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.tar.xz
manaplus-3411edb5d3ae07d247421e4b8f7936a22b7b4027.zip
Convert Attributes enum into strong typed enum.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 58b25630e..1374eefab 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1117,7 +1117,7 @@ void LocalPlayer::addSpMessage(const int change)
}
}
-void LocalPlayer::statChanged(const int id,
+void LocalPlayer::statChanged(const AttributesT id,
const int oldVal1,
const int oldVal2)
{
@@ -1136,7 +1136,7 @@ void LocalPlayer::statChanged(const int id,
addJobMessage(change);
}
-void LocalPlayer::attributeChanged(const int id,
+void LocalPlayer::attributeChanged(const AttributesT id,
const int oldVal,
const int newVal)
{