diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-06 17:00:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-06 17:00:00 +0300 |
commit | 21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c (patch) | |
tree | 2e366420e85c18fc4c687cc7ab5d1dd2f46df365 /src/actormanager.h | |
parent | 5b0c6c5c95645813f96ea413b1c14f2ffc18a481 (diff) | |
download | manaverse-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.gz manaverse-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.bz2 manaverse-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.xz manaverse-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.zip |
Add strong typed bool type AllowSort.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index ae4b7217f..9d0bc261c 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -158,7 +158,7 @@ class ActorManager final: public ConfigListener Being *findNearestLivingBeing(const Being *const aroundBeing, const int maxTileDist, const ActorType::Type type, - const bool allowSort) + const AllowSort allowSort) const A_WARN_UNUSED; /** @@ -341,7 +341,7 @@ class ActorManager final: public ConfigListener const ActorType::Type &type, const int x, const int y, const Being *const excluded, - const bool allowSort) + const AllowSort allowSort) const A_WARN_UNUSED; void loadAttackList(); |