- update more millisecond-storing data structures to u/int64_t to fix possible rollover bugs

This commit is contained in:
Rachael Alexanderson 2017-11-15 20:33:08 -05:00
commit 909daadd75
14 changed files with 36 additions and 35 deletions

View file

@ -876,7 +876,7 @@ FDoorAnimation *FTextureManager::FindAnimatedDoor (FTextureID picnum)
//
//==========================================================================
void FAnimDef::SetSwitchTime (uint32_t mstime)
void FAnimDef::SetSwitchTime (uint64_t mstime)
{
int speedframe = bDiscrete ? CurFrame : 0;
@ -917,7 +917,7 @@ void FTextureManager::SetTranslation (FTextureID fromtexnum, FTextureID totexnum
//
//==========================================================================
void FTextureManager::UpdateAnimations (uint32_t mstime)
void FTextureManager::UpdateAnimations (uint64_t mstime)
{
for (unsigned int j = 0; j < mAnimations.Size(); ++j)
{