From 110e60e3dd5e335653eab1f651d1e8d6586c0ee0 Mon Sep 17 00:00:00 2001 From: L Date: Wed, 3 May 2023 21:20:50 +0200 Subject: [PATCH] Fixed SetTime parameter (should be an int) in clientGameImport_t --- code/cgame/cg_public.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/cgame/cg_public.h b/code/cgame/cg_public.h index a4419b4a..6e75d161 100644 --- a/code/cgame/cg_public.h +++ b/code/cgame/cg_public.h @@ -32,7 +32,7 @@ extern "C" #endif #define MAGIC_UNUSED_NUMBER 7777 -#define CMD_BACKUP 64 +#define CMD_BACKUP 128 #define CMD_MASK (CMD_BACKUP - 1) // allow a lot of command backups for very fast systems // multiple commands may be combined into a single packet, so this @@ -269,7 +269,7 @@ typedef struct void (*GetGameState)( gameState_t *gamestate ); int (*GetSnapshot)( int snapshotNumber, snapshot_t *snapshot ); int (*GetServerStartTime)(); - void (*SetTime)(float time); + void (*SetTime)(int time); void (*GetCurrentSnapshotNumber)( int *snapshotNumber, int *serverTime ); void (*GetGlconfig)( glconfig_t *glconfig );