Core/Misc: Fix some -Wconversion warnings
This commit is contained in:
1 parent
f5f9df0483
commit
7fe7f30521
85 files changed
+207
-206
No files matched your search
@@ -1613,7 +1613,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
break;
|
||||
|
||||
float attackDistance = float(e.action.setRangedMovement.distance);
|
||||
float attackAngle = float(e.action.setRangedMovement.angle) / 180.0f * M_PI;
|
||||
float attackAngle = float(e.action.setRangedMovement.angle) / 180.0f * float(M_PI);
|
||||
|
||||
ObjectList* targets = GetTargets(e, unit);
|
||||
if (targets)
|
||||
|
||||
Reference in new issue
Block a user