make CI happy

This commit is contained in:
Ovahlord committed 2021-09-19 10:21:44 +02:00
1 parent 562e638a65
commit 0ef4e66c1d
1 file changed
+1 -1
+1 -1
View File
@@ -3410,7 +3410,7 @@ int32 SpellInfo::CalcDuration(Unit* caster, Spell* spell) const
if (effectPeriod > 0)
{
// additional ticks are being added by rounding up, resulting in increased duration.
int32 ticks = int32(std::ceilf((float)duration / effectPeriod));
int32 ticks = int32(std::ceil((float)duration / effectPeriod));
duration = std::max(ticks * effectPeriod, duration);
}
}