Use explicit constants when checking g_gametype

This commit is contained in:
smallmodel 2024-11-22 19:44:53 +01:00
parent 04da76167c
commit e2f4d8cd6b
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
9 changed files with 43 additions and 43 deletions

View file

@ -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;
}
}