chore(CI/codestyle): fix build (#4241)
This commit is contained in:
parent
72ee5f4972
commit
dd8abcd87e
1 changed files with 1 additions and 1 deletions
|
|
@ -2324,7 +2324,7 @@ Position* Unit::GetMeleeAttackPoint(Unit* attacker)
|
|||
int8 direction = (urand(0, 1) ? -1 : 1);
|
||||
|
||||
angle = frand(0.1f,0.3f) + (angle && !isnan(angle) ? angle : atan(attackerSize / (meleeReach))); // or fallback to the simpler method
|
||||
|
||||
|
||||
float x, y, z;
|
||||
GetNearPoint(attacker, x, y, z, attackerSize, 0.0f, currentAngle + angle * direction);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue