- Repair frame timer in tileAnimateOfs() following consolidation in 4f2170655c.

* All games that aren't Blood depend on Build's original 120Hz timer for this, not the playsim's clock.
This commit is contained in:
Mitchell Richters 2022-08-23 20:33:55 +10:00 committed by Christoph Oelckers
parent b196e67f40
commit 03fd5c2ebe

View file

@ -42,6 +42,7 @@
#include "m_crc32.h"
#include "build.h"
#include "gamecontrol.h"
#include "gamefuncs.h"
#include "palettecontainer.h"
#include "texturemanager.h"
#include "c_dispatch.h"
@ -811,7 +812,7 @@ int tileAnimateOfs(int tilenum, int randomize)
int framecount = picanm[tilenum].num;
if (framecount > 0)
{
int frametime = PlayClock;
int frametime = !isBlood() ? I_GetBuildTime() : PlayClock;
if (isBlood() && randomize)
{