From 21e0c15d56438f2d7f3e15736c00dd8b8ac6bd1c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 May 2015 17:00:00 +0300 Subject: Add strong typed bool type AllowSort. --- src/actormanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actormanager.h') 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(); -- cgit v1.2.3-60-g2f50