mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Fixed the new PrecacheModel/PrecacheOther VScript functions missing serverside parameters
This commit is contained in:
@@ -775,6 +775,7 @@ static void AddPhysVelocity( HSCRIPT hPhys, const Vector& vecVelocity, const Vec
|
||||
//=============================================================================
|
||||
//=============================================================================
|
||||
|
||||
#ifdef CLIENT_DLL
|
||||
static int ScriptPrecacheModel( const char *modelname )
|
||||
{
|
||||
return CBaseEntity::PrecacheModel( modelname );
|
||||
@@ -784,8 +785,17 @@ static void ScriptPrecacheOther( const char *classname )
|
||||
{
|
||||
UTIL_PrecacheOther( classname );
|
||||
}
|
||||
#else
|
||||
static int ScriptPrecacheModel( const char *modelname, bool bPreload )
|
||||
{
|
||||
return CBaseEntity::PrecacheModel( modelname, bPreload );
|
||||
}
|
||||
|
||||
static void ScriptPrecacheOther( const char *classname, const char *modelName )
|
||||
{
|
||||
UTIL_PrecacheOther( classname, modelName );
|
||||
}
|
||||
|
||||
#ifndef CLIENT_DLL
|
||||
// TODO: Move this?
|
||||
static void ScriptInsertSound( int iType, const Vector &vecOrigin, int iVolume, float flDuration, HSCRIPT hOwner, int soundChannelIndex, HSCRIPT hSoundTarget )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user