From 02e57aa85a8015afb2200b8f6337ca8f4871d47e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 2 Nov 2023 20:17:56 +0000 Subject: [PATCH] Code format - (Clang-format) --- src/creatures/creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creatures/creature.cpp b/src/creatures/creature.cpp index 60c0c802832..f08089f89e0 100644 --- a/src/creatures/creature.cpp +++ b/src/creatures/creature.cpp @@ -1420,7 +1420,7 @@ uint16_t Creature::getStepDuration(Direction dir) { auto duration = walk.duration; if ((dir & DIRECTION_DIAGONAL_MASK) != 0) { duration *= WALK_DIAGONAL_EXTRA_COST; - }else if (const auto &monster = getMonster()) { + } else if (const auto &monster = getMonster()) { if (monster->isTargetNearby() && !monster->isFleeing() && !monster->getMaster()) { duration *= WALK_TARGET_NEARBY_EXTRA_COST; }