diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-03-07 00:23:52 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-03-07 00:23:52 +0100 |
commit | 45ee989c70682c001d4467d97bf1ecedcf7dbcc3 (patch) | |
tree | e36b3b8bf55bab550598ef87d3420aba0332793c /src/server/scripts/Spells | |
parent | 1f73cf9f19679f5b888f9df475b94c9405f2d746 (diff) |
Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r-- | src/server/scripts/Spells/spell_generic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index c179b78bc0e..f3a1d809b76 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -206,7 +206,7 @@ class spell_spawn_blood_pool : public SpellScript Unit* caster = GetCaster(); Position summonPos = caster->GetPosition(); LiquidData liquidStatus; - if (caster->GetMap()->GetLiquidStatus(caster->GetPhaseShift(), caster->GetPositionX(), caster->GetPositionY(), caster->GetPositionZ(), map_liquidHeaderTypeFlags::AllLiquids, &liquidStatus, caster->GetCollisionHeight())) + if (caster->GetMap()->GetLiquidStatus(caster->GetPhaseShift(), caster->GetPositionX(), caster->GetPositionY(), caster->GetPositionZ(), {}, &liquidStatus, caster->GetCollisionHeight())) summonPos.m_positionZ = liquidStatus.level; dest.Relocate(summonPos); } |