mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- Blood: Cleanup some timing variables following timing uplift.
* Remove cast of int on `gFrameClock` since gFrameClock is now just an int. * Remove unused `gFrameTicks`. * Remove unused `gFrameRate`. * Rename `gFrame` to `gFrameCount` so it's easier to search and distinguish from `gFrameClock` without relying on regex.
This commit is contained in:
parent
ddd6a300ab
commit
5bfd4069ef
17 changed files with 51 additions and 77 deletions
|
@ -143,7 +143,7 @@ static tspritetype *viewAddEffect(int nTSprite, VIEW_EFFECT nViewEffect)
|
|||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
auto pNSprite = viewInsertTSprite(pTSprite->sectnum, 32767, pTSprite);
|
||||
int ang = ((int)gFrameClock*2048)/120;
|
||||
int ang = (gFrameClock*2048)/120;
|
||||
int nRand1 = dword_172CE0[i][0];
|
||||
int nRand2 = dword_172CE0[i][1];
|
||||
int nRand3 = dword_172CE0[i][2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue