Scripts/TotT: Unyielding Behemoth's Shadow Blast will now use the correct helper to avoid having it fall below the map

This commit is contained in:
Ovahlord
2019-11-23 08:20:30 +01:00
parent f102ce1cdf
commit 38e7694dbc

View File

@@ -862,7 +862,7 @@ class spell_ozumat_shadow_blast_missile : public SpellScript
// Calculation is correct, core needs to support vertical only splines....
Position pos = GetCaster()->GetPosition();
pos.m_positionZ = caster->GetMap()->GetHeight(caster->GetPhaseShift(), pos);
pos.m_positionZ = caster->GetFloorZ();
dest.Relocate(pos);
}