Commit 5f16a9a6 authored by NY00123's avatar NY00123 Committed by Evan Ramos
Browse files

SW: Remove FAKETIMERHANDLER and calls to faketimerhandler via this macro

parent 0f0cc936
......@@ -2226,7 +2226,6 @@ extern int lockspeed,totalsynctics;
#define synctics 3
#define ACTORMOVETICS (synctics<<1)
#define TICSPERMOVEMENT synctics
#define FAKETIMERHANDLER() if (totalclock >= ototalclock + synctics) faketimerhandler()
// subtract value from clipdist on getzrange calls
#define GETZRANGE_CLIP_ADJ 8
......
......@@ -8080,12 +8080,8 @@ domovethings(void)
JS_ProcessEchoSpot();
}
FAKETIMERHANDLER();
SpriteControl();
FAKETIMERHANDLER();
TRAVERSE_CONNECT(pnum)
{
extern short screenpeek;
......@@ -8115,8 +8111,6 @@ domovethings(void)
#endif
}
FAKETIMERHANDLER();
// do for moving sectors
DoPlayerSectorUpdatePreMove(pp);
ChopsCheck(pp);
......
......@@ -3184,7 +3184,6 @@ void movelava(char *dapic)
for (x = LAVASIZ - 1; x >= 0; x--)
{
FAKETIMERHANDLER();
offs = (x + 1) * (LAVASIZ + 2) + 1;
ptr = (char *)((x << LAVALOGSIZ) + (intptr_t) dapic);
......
......@@ -6778,8 +6778,6 @@ SpriteControl(void)
#endif
}
FAKETIMERHANDLER();
// Items and skip2 things
if (MoveSkip2 == 0)
{
......@@ -6802,8 +6800,6 @@ SpriteControl(void)
}
}
FAKETIMERHANDLER();
if (MoveSkip2 == 0) // limit to 20 times a second
{
// move bad guys around
......@@ -6858,9 +6854,6 @@ SpriteControl(void)
}
}
FAKETIMERHANDLER();
// Skip4 things
if (MoveSkip4 == 0) // limit to 10 times a second
{
......@@ -6883,8 +6876,6 @@ SpriteControl(void)
}
}
FAKETIMERHANDLER();
TRAVERSE_SPRITE_STAT(headspritestat[STAT_NO_STATE], i, nexti)
{
if (User[i] && User[i]->ActorActionFunc)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment