fix(Core/Spells): Improved Blink in WSG near NE huts. (#13012)
This commit is contained in:
parent
ea7f86ae64
commit
577a0a1f3e
1 changed files with 1 additions and 1 deletions
|
|
@ -1549,7 +1549,7 @@ void Spell::SelectImplicitCasterDestTargets(SpellEffIndex effIndex, SpellImplici
|
|||
// collision occured
|
||||
if (col || dcol || (overdistance > 0.0f && !map->IsInWater(phasemask, tstX, tstY, ground, collisionHeight)) || (fabs(prevZ - tstZ) > maxtravelDistZ && (tstZ > prevZ)))
|
||||
{
|
||||
if ((overdistance > 0.0f) && (overdistance < step))
|
||||
if ((overdistance > 0.0f) && (overdistance < 1.f))
|
||||
{
|
||||
destx = prevX + overdistance * cos(pos.GetOrientation());
|
||||
desty = prevY + overdistance * sin(pos.GetOrientation());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue