mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Restore saved Cgame state if the server is different (clear it otherwise)
This commit is contained in:
parent
5a250ea247
commit
963e4aa7ec
1 changed files with 6 additions and 0 deletions
|
@ -245,6 +245,12 @@ static void CG_TransitionSnapshot(qboolean differentServer)
|
|||
CG_TransitionPlayerState(ps, ops);
|
||||
}
|
||||
}
|
||||
|
||||
if (differentServer) {
|
||||
cgi.CL_RestoreSavedCgameState();
|
||||
} else {
|
||||
cgi.CL_ClearSavedCgameState();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue