mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-12-03 17:32:01 +00:00
* In the dedicated binary, prevent setting dedicated cvar to 0
This commit is contained in:
parent
49413057ee
commit
7fe9a02d91
1 changed files with 8 additions and 0 deletions
|
@ -782,6 +782,14 @@ void SV_Frame( int msec ) {
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef DEDICATED
|
||||
if( com_dedicated->integer == 0 )
|
||||
{
|
||||
Com_Printf( "WARNING: dedicated must not be 0. Setting to 1.\n" );
|
||||
Cvar_Set( "dedicated", "1" );
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!com_sv_running->integer)
|
||||
{
|
||||
// Running as a server, but no map loaded
|
||||
|
|
Loading…
Reference in a new issue