mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-01-18 06:22:30 +00:00
Added automatic re-initialization of UI data and execution of config files (via CL_ChangeGameRefresh() and FS_ExecConfigs()) when changing "game" cvar and gamedir.
Added CL_ChangeGameRefresh() in cl_main.c. Added UI_RefreshData() in ui_main.c. Added FS_ExecConfigs() in filesystem.c to handle execution of default.cfg and kmq2config.cfg. Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
This commit is contained in:
commit
bea11c25e0
1 changed files with 2 additions and 2 deletions
|
@ -951,8 +951,8 @@ void Com_SetServerState (int state);
|
|||
unsigned Com_BlockChecksum (void *buffer, int length);
|
||||
byte COM_BlockSequenceCRCByte (byte *base, int length, int sequence);
|
||||
|
||||
float frand(void); // 0 ti 1
|
||||
float crand(void); // -1 to 1
|
||||
float frand (void); // 0 ti 1
|
||||
float crand (void); // -1 to 1
|
||||
|
||||
extern cvar_t *developer;
|
||||
extern cvar_t *dedicated;
|
||||
|
|
Loading…
Reference in a new issue