diff --git a/common/common_quakedef.h b/common/common_quakedef.h index c2424b8..577fc7a 100644 --- a/common/common_quakedef.h +++ b/common/common_quakedef.h @@ -109,7 +109,7 @@ void Host_Init (quakeparms_t *parms); void Host_Shutdown(void); void Host_Error (char *error, ...); void Host_EndGame (char *message, ...); -void Host_Frame (float time); +void Host_Frame (double time); void Host_Quit_f (void); void Host_ClientCommands (char *fmt, ...); void Host_ShutdownServer (qboolean crash); diff --git a/common/host.c b/common/host.c index 6258399..353fe54 100644 --- a/common/host.c +++ b/common/host.c @@ -238,7 +238,7 @@ int nopacketcount; // for Host_FrameMain Run everything that happens on a per-frame basis */ void -Host_FrameMain ( float time ) +Host_FrameMain ( double time ) { static double time1 = 0; static double time2 = 0; @@ -365,7 +365,7 @@ Host_FrameMain ( float time ) to be handled and write it to console. */ void -Host_Frame ( float time ) +Host_Frame ( double time ) { #ifdef QUAKEWORLD Host_FrameMain (time);