- Fixed: Possible timer overflow in PowerTimeFreezer.

This commit is contained in:
Braden Obrzut 2016-01-30 00:18:38 -05:00
parent a34a7ace18
commit 5d6e8a7338

View file

@ -1500,6 +1500,8 @@ void APowerTimeFreezer::InitEffect()
}
else
{
// Compensate for skipped tic, but beware of overflow.
if(EffectTics < INT_MAX)
EffectTics++;
}
}