Initialize the radar

This commit is contained in:
smallmodel 2024-10-18 20:12:47 +02:00
parent bb9ccdd3b9
commit 6d69a8033f
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 3 additions and 0 deletions

View file

@ -516,6 +516,7 @@ void SV_Heartbeat_f( void );
//
// sv_snapshot.c
//
void SV_InitRadar();
void SV_AddServerCommand( client_t *client, const char *cmd );
void SV_UpdateServerCommandsToClient( client_t *client, msg_t *msg );
void SV_WriteFrameToClient (client_t *client, msg_t *msg);

View file

@ -623,6 +623,8 @@ void SV_SpawnServer( const char *server, qboolean loadgame, qboolean restart, qb
SV_Startup();
}
SV_InitRadar();
sv.restarting = ( keep_scripts || !differentmap );
strncpy( last_mapname, mapname, sizeof( last_mapname ) );