mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Use explicit constants when checking g_gametype
This commit is contained in:
parent
04da76167c
commit
e2f4d8cd6b
9 changed files with 43 additions and 43 deletions
|
@ -298,7 +298,7 @@ static void SV_GameMap_f( void ) {
|
|||
|
||||
SV_SpawnServer( map, qfalse, qfalse, bTransition );
|
||||
|
||||
if( !g_gametype->integer ) {
|
||||
if( g_gametype->integer == GT_SINGLE_PLAYER ) {
|
||||
svs.autosave = qtrue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue