mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Rename faketimerhandler -> UpdateInputs and keep an empty
faketimerhandler stub in SW. This basically deprecates the usage of faketimerhandler in the game.
This commit is contained in:
parent
6daf42a959
commit
ae2bcdd1a6
3 changed files with 5 additions and 2 deletions
|
@ -2602,7 +2602,7 @@ void RunLevel(void)
|
|||
|
||||
timerUpdateClock();
|
||||
while (ready2send && (totalclock >= ototalclock + synctics))
|
||||
faketimerhandler();
|
||||
UpdateInputs();
|
||||
}
|
||||
|
||||
ready2send = 0;
|
||||
|
|
|
@ -924,8 +924,10 @@ AddSyncInfoToPacket(int *j)
|
|||
}
|
||||
}
|
||||
|
||||
void faketimerhandler(void) { ; }
|
||||
|
||||
void
|
||||
faketimerhandler(void)
|
||||
UpdateInputs(void)
|
||||
{
|
||||
int i, j, k;
|
||||
PLAYERp pp;
|
||||
|
|
|
@ -171,6 +171,7 @@ typedef struct
|
|||
extern AUTO_NET Auto;
|
||||
extern SWBOOL AutoNet;
|
||||
|
||||
void UpdateInputs(void);
|
||||
void getpackets(void);
|
||||
void SendMulitNameChange(char *new_name);
|
||||
void InitNetVars(void);
|
||||
|
|
Loading…
Reference in a new issue