From 7ab0b2ea434fc1dda0572a025a8a9743e5813fdf Mon Sep 17 00:00:00 2001 From: Molgrum Date: Tue, 2 Oct 2007 15:25:26 +0000 Subject: [PATCH] The usual errors and warnings. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2697 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/server.h | 4 ++++ engine/server/sv_phys.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/server/server.h b/engine/server/server.h index 41628849f..e98cbaade 100644 --- a/engine/server/server.h +++ b/engine/server/server.h @@ -1041,6 +1041,10 @@ void SV_UpdateToReliableMessages (void); void SV_DarkPlacesDownloadChunk(client_t *cl, sizebuf_t *msg); void SV_New_f (void); +void SV_PreRunCmd(void); +void SV_RunCmd (usercmd_t *ucmd, qboolean recurse); +void SV_PostRunCmd(void); + //sv_master.c void SVM_Think(int port); diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index c529f07ac..06ace3e7b 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -2013,8 +2013,8 @@ qboolean SV_Physics (void) usercmd_t ucmd; static int old_bot_time; //I hate using floats for timers. - host_frametime = (Sys_Milliseconds() - old_bot_time) / 1000.0f; client_t *oldhost; + host_frametime = (Sys_Milliseconds() - old_bot_time) / 1000.0f; if (1 || host_frametime >= 1 / 72.0f) { memset(&ucmd, 0, sizeof(ucmd));