diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index 51e86ad70..9d3c23b53 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -2602,7 +2602,7 @@ void RunLevel(void) timerUpdateClock(); while (ready2send && (totalclock >= ototalclock + synctics)) - faketimerhandler(); + UpdateInputs(); } ready2send = 0; diff --git a/source/sw/src/network.cpp b/source/sw/src/network.cpp index 2df8e8f61..e41243188 100644 --- a/source/sw/src/network.cpp +++ b/source/sw/src/network.cpp @@ -924,8 +924,10 @@ AddSyncInfoToPacket(int *j) } } +void faketimerhandler(void) { ; } + void -faketimerhandler(void) +UpdateInputs(void) { int i, j, k; PLAYERp pp; diff --git a/source/sw/src/network.h b/source/sw/src/network.h index 84a75444e..2d91154a3 100644 --- a/source/sw/src/network.h +++ b/source/sw/src/network.h @@ -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);