mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 06:02:10 +08:00
engine: common: add host.default_gamedir containing gamedir passed to us from game launcher
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user