mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Added new shared VScript functions
This commit is contained in:
@@ -85,7 +85,11 @@ HSCRIPT VScriptCompileScript( const char *pszScriptName, bool bWarnMissing )
|
||||
{
|
||||
bool bResult = filesystem->ReadFile( scriptPath, "GAME", bufferScript );
|
||||
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
if ( !bResult && bWarnMissing )
|
||||
#else
|
||||
if( !bResult )
|
||||
#endif
|
||||
{
|
||||
Warning( "Script not found (%s) \n", scriptPath.operator const char *() );
|
||||
Assert( "Error running script" );
|
||||
|
||||
Reference in New Issue
Block a user