summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 01:09:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 01:09:47 +0300
commit7fa78a35307227453ab55c7452e348a40cd41d65 (patch)
tree1d3e16a94bed043877306f1c47b3992add85b3be /src/net/eathena/generalhandler.cpp
parenta87db81b6b7551a248e31e2850577aefda092538 (diff)
downloadplus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.gz
plus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.bz2
plus-7fa78a35307227453ab55c7452e348a40cd41d65.tar.xz
plus-7fa78a35307227453ab55c7452e348a40cd41d65.zip
Add strong typed bool type Modifiable.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index b527aae70..3c442af82 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -390,13 +390,18 @@ void GeneralHandler::gameStarted() const
// protection against double addition attributes.
statusWindow->clearAttributes();
- statusWindow->addAttribute(Attributes::STR, _("Strength"), "str", true);
- statusWindow->addAttribute(Attributes::AGI, _("Agility"), "agi", true);
- statusWindow->addAttribute(Attributes::VIT, _("Vitality"), "vit", true);
+ statusWindow->addAttribute(Attributes::STR,
+ _("Strength"), "str", Modifiable_true);
+ statusWindow->addAttribute(Attributes::AGI,
+ _("Agility"), "agi", Modifiable_true);
+ statusWindow->addAttribute(Attributes::VIT,
+ _("Vitality"), "vit", Modifiable_true);
statusWindow->addAttribute(Attributes::INT,
- _("Intelligence"), "int", true);
- statusWindow->addAttribute(Attributes::DEX, _("Dexterity"), "dex", true);
- statusWindow->addAttribute(Attributes::LUK, _("Luck"), "luk", true);
+ _("Intelligence"), "int", Modifiable_true);
+ statusWindow->addAttribute(Attributes::DEX,
+ _("Dexterity"), "dex", Modifiable_true);
+ statusWindow->addAttribute(Attributes::LUK,
+ _("Luck"), "luk", Modifiable_true);
statusWindow->addAttribute(Attributes::ATK, _("Attack"));
statusWindow->addAttribute(Attributes::DEF, _("Defense"));