summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 17:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 17:00:00 +0300
commit21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c (patch)
tree2e366420e85c18fc4c687cc7ab5d1dd2f46df365 /src/actormanager.h
parent5b0c6c5c95645813f96ea413b1c14f2ffc18a481 (diff)
downloadmv-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.gz
mv-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.bz2
mv-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.tar.xz
mv-21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c.zip
Add strong typed bool type AllowSort.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h4
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();