- Build: Use I_GetBuildTime() in place of totalclocklock in animateoffs(). This makes the SW menu work pre-game.

This commit is contained in:
Mitchell Richters 2020-08-26 07:57:27 +10:00
parent 40739d9176
commit 576b13248e

View file

@ -447,7 +447,7 @@ int32_t animateoffs(int const tilenum, int fakevar)
if (animnum <= 0)
return 0;
int const i = (int) totalclocklock >> (picanm[tilenum].sf & PICANM_ANIMSPEED_MASK);
int const i = (int) I_GetBuildTime() >> (picanm[tilenum].sf & PICANM_ANIMSPEED_MASK);
int offs = 0;
switch (picanm[tilenum].sf & PICANM_ANIMTYPE_MASK)