From 6d64ecd24f420a2a39aa6bf515bc408b07dbda36 Mon Sep 17 00:00:00 2001 From: 天鹭 <18535853+PkllonG@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:51:52 +0800 Subject: fix(Core/Vmaps): Fix inconsistency of hitInstance and hitModel to cause wrong area ids (#23233) Co-authored-by: ModoX Co-authored-by: Shauren Co-authored-by: Grimdhex <237474256+Grimdhex@users.noreply.github.com> Co-authored-by: sudlud --- src/server/scripts/Spells/spell_generic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 1d888d3e8a..d03cae988c 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -2045,7 +2045,7 @@ class spell_spawn_blood_pool : public SpellScript void SetDest(SpellDestination &dest) { Unit* caster = GetCaster(); - LiquidData liquidStatus = caster->GetMap()->GetLiquidData(caster->GetPhaseMask(), caster->GetPositionX(), caster->GetPositionY(), caster->GetPositionZ(), caster->GetCollisionHeight(), MAP_ALL_LIQUIDS); + LiquidData liquidStatus = caster->GetMap()->GetLiquidData(caster->GetPhaseMask(), caster->GetPositionX(), caster->GetPositionY(), caster->GetPositionZ(), caster->GetCollisionHeight(), {}); float level = liquidStatus.Level > INVALID_HEIGHT ? liquidStatus.Level : caster->GetPositionZ(); Position pos = Position(caster->GetPositionX(), caster->GetPositionY(), level, caster->GetOrientation()); -- cgit v1.2.3