summaryrefslogtreecommitdiff
path: root/src/textcommand.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 20:39:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 20:39:21 +0300
commitdb82bf99bbd6d246f3e8da19fe88705f7015f144 (patch)
tree3fdd7e569c428b611ddaa80f59ff93da4ade1ed0 /src/textcommand.cpp
parent11000f010f19a2de85ba26660b451c7c41ab3a97 (diff)
downloadManaVerse-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.gz
ManaVerse-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.bz2
ManaVerse-db82bf99bbd6d246f3e8da19fe88705f7015f144.tar.xz
ManaVerse-db82bf99bbd6d246f3e8da19fe88705f7015f144.zip
Move TextCommandType enum into separate file and convert to strong typed.
Diffstat (limited to 'src/textcommand.cpp')
-rw-r--r--src/textcommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textcommand.cpp b/src/textcommand.cpp
index baca21090..04d479ece 100644
--- a/src/textcommand.cpp
+++ b/src/textcommand.cpp
@@ -54,7 +54,7 @@ TextCommand::TextCommand(const unsigned int id,
mSchool(school),
mBaseLvl(basicLvl),
mSchoolLvl(schoolLvl),
- mCommandType(TEXT_COMMAND_MAGIC),
+ mCommandType(TextCommandType::Magic),
mImage(nullptr)
{
loadImage();
@@ -75,7 +75,7 @@ TextCommand::TextCommand(const unsigned int id, const std::string &symbol,
mSchool(MagicSchool::SkillMagic),
mBaseLvl(0),
mSchoolLvl(0),
- mCommandType(TEXT_COMMAND_TEXT),
+ mCommandType(TextCommandType::Text),
mImage(nullptr)
{
loadImage();
@@ -92,7 +92,7 @@ TextCommand::TextCommand(const unsigned int id) :
mSchool(MagicSchool::SkillMagic),
mBaseLvl(0),
mSchoolLvl(0),
- mCommandType(TEXT_COMMAND_TEXT),
+ mCommandType(TextCommandType::Text),
mImage(nullptr)
{
loadImage();