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
@@ -1584,7 +1584,7 @@ class spell_gen_gift_of_naaru : public SpellScriptLoader
|
||||
break;
|
||||
}
|
||||
|
||||
int32 healTick = floor(heal / aurEff->GetTotalTicks());
|
||||
int32 healTick = std::floor(heal / aurEff->GetTotalTicks());
|
||||
amount += int32(std::max(healTick, 0));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user