mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-12 16:21:04 +02:00
Added bot code.
This commit is contained in:
@@ -2523,7 +2523,7 @@ bool idFileSystemLocal::UpdateGamePakChecksums( void ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef ID_ALLOW_TOOLS
|
||||
// some sanity checks on the game code references
|
||||
// make sure that at least the local OS got a pure reference
|
||||
if ( !gamePakForOS[ BUILD_OS_ID ] ) {
|
||||
@@ -2536,7 +2536,7 @@ bool idFileSystemLocal::UpdateGamePakChecksums( void ) {
|
||||
common->Warning( "The current game code doesn't match pak files (net_serverAllowServerMod is off)" );
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -3011,6 +3011,10 @@ bool idFileSystemLocal::FileAllowedFromDir( const char *path ) {
|
||||
|
||||
l = strlen( path );
|
||||
|
||||
#ifdef ID_ALLOW_TOOLS
|
||||
return true;
|
||||
#endif
|
||||
|
||||
if ( !strcmp( path + l - 4, ".cfg" ) // for config files
|
||||
|| !strcmp( path + l - 4, ".dat" ) // for journal files
|
||||
|| !strcmp( path + l - 4, ".dll" ) // dynamic modules are handled a different way for pure
|
||||
|
||||
Reference in New Issue
Block a user