engine: common: add host.default_gamedir containing gamedir passed to us from game launcher

This commit is contained in:
Alibek Omarov
2026-04-03 04:09:25 +05:00
parent e8ef7ad60c
commit 8e450d869b
9 changed files with 29 additions and 23 deletions
+6 -1
View File
@@ -66,10 +66,15 @@ qboolean Platform_DebuggerPresent( void )
tracer_pid = (const byte*)Q_strstr( buf, TracerPid );
if( !tracer_pid )
return false;
//printf( "%s\n", tracer_pid );
while( *tracer_pid < '0' || *tracer_pid > '9' )
while(( *tracer_pid < '0' ) || ( *tracer_pid > '9' ))
{
if( *tracer_pid++ == '\n' )
return false;
}
//printf( "%s\n", tracer_pid );
return !!Q_atoi( (const char*)tracer_pid );
}