mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
Fix restoring old fs_game upon leaving a server. Patch by Ensiform.
This commit is contained in:
parent
17ee96e6c8
commit
016b74b633
3 changed files with 14 additions and 10 deletions
|
@ -280,6 +280,7 @@ extern clientConnection_t clc;
|
|||
|
||||
the clientStatic_t structure is never wiped, and is used even when
|
||||
no client connection is active at all
|
||||
(except when CL_Shutdown is called)
|
||||
|
||||
==================================================================
|
||||
*/
|
||||
|
@ -338,9 +339,6 @@ typedef struct {
|
|||
serverInfo_t favoriteServers[MAX_OTHER_SERVERS];
|
||||
|
||||
int pingUpdateSource; // source currently pinging or updating
|
||||
|
||||
char oldGame[MAX_QPATH];
|
||||
qboolean oldGameSet;
|
||||
|
||||
// update server info
|
||||
netadr_t updateServer;
|
||||
|
@ -358,6 +356,9 @@ typedef struct {
|
|||
|
||||
extern clientStatic_t cls;
|
||||
|
||||
extern char cl_oldGame[MAX_QPATH];
|
||||
extern qboolean cl_oldGameSet;
|
||||
|
||||
//=============================================================================
|
||||
|
||||
extern vm_t *cgvm; // interface to cgame dll or vm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue