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
@@ -2456,7 +2456,7 @@ class spell_item_unusual_compass : public SpellScriptLoader
|
||||
void HandleDummy(SpellEffIndex /* effIndex */)
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
caster->SetFacingTo(frand(0.0f, 2.0f * M_PI));
|
||||
caster->SetFacingTo(frand(0.0f, 2.0f * float(M_PI)));
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in new issue
Block a user