Core/Misc: Fix some -Wconversion warnings

This commit is contained in:
jackpoz committed 2014-08-23 19:56:41 +02:00
1 parent f5f9df0483
commit 7fe7f30521
85 files changed
+207 -206

No files matched your search

+1 -1
View File
@@ -2008,7 +2008,7 @@ class spell_q12308_escape_from_silverbrook_summon_worgen : public SpellScriptLoa
void ModDest(SpellDestination& dest)
{
float dist = GetSpellInfo()->Effects[EFFECT_0].CalcRadius(GetCaster());
float angle = frand(0.75f, 1.25f) * M_PI;
float angle = frand(0.75f, 1.25f) * float(M_PI);
Position pos = GetCaster()->GetNearPosition(dist, angle);
dest.Relocate(pos);