diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 20:58:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 20:58:21 +0300 |
commit | a87db81b6b7551a248e31e2850577aefda092538 (patch) | |
tree | f47c20512183113face758cf58ec71369c82806c /src/net/mercenaryhandler.h | |
parent | 92c019dad798f1a84c5d3e8e8331a885f6458133 (diff) | |
download | manaplus-a87db81b6b7551a248e31e2850577aefda092538.tar.gz manaplus-a87db81b6b7551a248e31e2850577aefda092538.tar.bz2 manaplus-a87db81b6b7551a248e31e2850577aefda092538.tar.xz manaplus-a87db81b6b7551a248e31e2850577aefda092538.zip |
Replace most bools usage in playerinfo to strong typed bools.
Diffstat (limited to 'src/net/mercenaryhandler.h')
-rw-r--r-- | src/net/mercenaryhandler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/mercenaryhandler.h b/src/net/mercenaryhandler.h index 40a92bbd7..104d7e8d2 100644 --- a/src/net/mercenaryhandler.h +++ b/src/net/mercenaryhandler.h @@ -23,6 +23,8 @@ #ifdef EATHENA_SUPPORT +#include "enums/simpletypes.h" + #include <string> #include "localconsts.h" @@ -44,7 +46,7 @@ class MercenaryHandler notfinal virtual void move(const int x, const int y) const = 0; - virtual void attack(const int targetId, const bool keep) const = 0; + virtual void attack(const int targetId, const Keep keep) const = 0; virtual void talk(const std::string &restrict text) const = 0; |