mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: synchronize sv_cheats state with the server
This commit is contained in:
@@ -640,6 +640,10 @@ typedef struct
|
||||
// server's build number (might be zero)
|
||||
int build_num;
|
||||
uint8_t steamid[8];
|
||||
|
||||
// whether server allows cheats or not
|
||||
// set differently depending on protocol and extensions
|
||||
qboolean allow_cheats;
|
||||
} client_static_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -763,6 +767,7 @@ void CL_UpdateFrameLerp( void );
|
||||
int CL_IsDevOverviewMode( void );
|
||||
void CL_SignonReply( connprotocol_t proto );
|
||||
void CL_ClearState( void );
|
||||
void CL_SetCheatState( qboolean multiplayer, qboolean allow_cheats );
|
||||
|
||||
//
|
||||
// cl_demo.c
|
||||
|
||||
Reference in New Issue
Block a user