- update more millisecond-storing data structures to u/int64_t to fix possible rollover bugs
This commit is contained in:
parent
16fa0cba21
commit
909daadd75
14 changed files with 36 additions and 35 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue