From 6a62013dad5b7712be6e668809f55b3c528d1b91 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 23 Oct 2023 00:57:12 +0000 Subject: [PATCH] Code format - (Clang-format) --- src/creatures/creature.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/creatures/creature.cpp b/src/creatures/creature.cpp index 8fa27ee0fe2..7f42e533e03 100644 --- a/src/creatures/creature.cpp +++ b/src/creatures/creature.cpp @@ -990,7 +990,7 @@ void Creature::goToFollowCreature() { std::forward_list list; if (self->hasFollowPath = self->getPathTo(targetPos, list, fpp)) { - g_dispatcher().addEvent([self, list = std::move(list)] { self->startAutoWalk(list); }, "Creature::goToFollowCreature"); + g_dispatcher().addEvent([self, list = std::move(list)] { self->startAutoWalk(list); }, "Creature::goToFollowCreature"); } }); @@ -1303,7 +1303,7 @@ void Creature::removeCondition(ConditionType_t type) { continue; } - it = conditions.erase(it); + it = conditions.erase(it); condition->endCondition(getCreature()); @@ -1332,7 +1332,7 @@ void Creature::removeCondition(ConditionType_t conditionType, ConditionId_t cond } } - it = conditions.erase(it); + it = conditions.erase(it); condition->endCondition(getCreature()); @@ -1359,7 +1359,7 @@ void Creature::removeCondition(std::shared_ptr condition) { return; } - conditions.erase(it); + conditions.erase(it); condition->endCondition(getCreature()); onEndCondition(condition->getType()); @@ -1400,7 +1400,7 @@ void Creature::executeConditions(uint32_t interval) { if (!condition->executeCondition(getCreature(), interval)) { ConditionType_t type = condition->getType(); - it = conditions.erase(it); + it = conditions.erase(it); condition->endCondition(getCreature());