summaryrefslogtreecommitdiff
path: root/src/enums/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
commit64d30eda264c342aced8d791b47a35def0e4d15c (patch)
treec680d467213104dd8ae4a030c04fe212f3a6b23c /src/enums/being
parent68a7dd225969fcdfb9c07b99db43756a2b1dec7c (diff)
downloadplus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.gz
plus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.bz2
plus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.xz
plus-64d30eda264c342aced8d791b47a35def0e4d15c.zip
Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL.
Diffstat (limited to 'src/enums/being')
-rw-r--r--src/enums/being/attributes.h2
-rw-r--r--src/enums/being/attributesstrings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/enums/being/attributes.h b/src/enums/being/attributes.h
index c98413c69..7252a539a 100644
--- a/src/enums/being/attributes.h
+++ b/src/enums/being/attributes.h
@@ -27,7 +27,7 @@
enumStart(Attributes)
{
// player attributes
- PLAYER_LEVEL = 0,
+ PLAYER_BASE_LEVEL = 0,
PLAYER_HP,
PLAYER_MAX_HP,
PLAYER_MP,
diff --git a/src/enums/being/attributesstrings.cpp b/src/enums/being/attributesstrings.cpp
index 4d75d54a4..51c116355 100644
--- a/src/enums/being/attributesstrings.cpp
+++ b/src/enums/being/attributesstrings.cpp
@@ -31,7 +31,7 @@ namespace AttributesEnum
{
stringEnumStart(AttributesT)
// player attributes
- strEnumDef(Attributes, PLAYER_LEVEL)
+ strEnumDef2(Attributes, PLAYER_BASE_LEVEL, "PLAYER_LEVEL")
strEnumDef(Attributes, PLAYER_HP)
strEnumDef(Attributes, PLAYER_MAX_HP)
strEnumDef(Attributes, PLAYER_MP)