From efd245daf509b4bce13e7d92088babf944d82b94 Mon Sep 17 00:00:00 2001 From: KobaltBlu <10106764+KobaltBlu@users.noreply.github.com> Date: Sat, 16 Jul 2022 11:09:52 -0400 Subject: [PATCH 1/2] fix: remove WorldFloatConfigs[CONFIG_WATER_BREATH_TIMER] fixes compile error: "fatal error: redefinition of enumerator" --- src/server/game/World/IWorld.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/game/World/IWorld.h b/src/server/game/World/IWorld.h index 6a7b2c8eb..52992b4ea 100644 --- a/src/server/game/World/IWorld.h +++ b/src/server/game/World/IWorld.h @@ -194,7 +194,6 @@ enum WorldFloatConfigs CONFIG_ARENA_WIN_RATING_MODIFIER_2, CONFIG_ARENA_LOSE_RATING_MODIFIER, CONFIG_ARENA_MATCHMAKER_RATING_MODIFIER, - CONFIG_WATER_BREATH_TIMER, FLOAT_CONFIG_VALUE_COUNT }; From 55510b18e6ebae63b61c4755378391908a54d199 Mon Sep 17 00:00:00 2001 From: KobaltBlu <10106764+KobaltBlu@users.noreply.github.com> Date: Wed, 20 Jul 2022 00:50:00 -0400 Subject: [PATCH 2/2] fix: illegal instruction error in Creature.cpp:3470 --- src/server/game/Entities/Creature/Creature.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp index d48dc275b..0815e263e 100644 --- a/src/server/game/Entities/Creature/Creature.cpp +++ b/src/server/game/Entities/Creature/Creature.cpp @@ -3469,6 +3469,8 @@ bool Creature::SetCannotReachTarget(bool cannotReach, bool isChase /*= true*/) if (cannotReach) LOG_DEBUG("entities.unit", "Creature::SetCannotReachTarget() called with true. Details: {}", GetDebugInfo()); + + return true; } time_t Creature::GetLastDamagedTime() const