mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- 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:
parent
b196e67f40
commit
03fd5c2ebe
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue