mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[8045] Cleanup expression.
This commit is contained in:
parent
0beec712e5
commit
4cbf8e2412
2 changed files with 2 additions and 2 deletions
|
|
@ -653,7 +653,7 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
|
|||
break;
|
||||
case ACTION_T_RANGED_MOVEMENT:
|
||||
AttackDistance = action.ranged_movement.distance;
|
||||
AttackAngle = ((float)action.ranged_movement.angle/180)*M_PI;
|
||||
AttackAngle = action.ranged_movement.angle/180.0f*M_PI;
|
||||
|
||||
if (CombatMovementEnabled)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue