mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 23:05:30 +03:00
Added default parameter wrappers for PrecacheModel and PrecacheOther VScript functions
This commit is contained in:
parent
8652b31ed1
commit
3a297d0d16
@ -72,6 +72,18 @@ function ImpulseScale( flTargetMass, flDesiredSpeed )
|
|||||||
}
|
}
|
||||||
__Documentation.RegisterHelp( "ImpulseScale", "float ImpulseScale(float, float)", "Returns an impulse scale required to push an object." );
|
__Documentation.RegisterHelp( "ImpulseScale", "float ImpulseScale(float, float)", "Returns an impulse scale required to push an object." );
|
||||||
|
|
||||||
|
local PrecacheModel = PrecacheModel
|
||||||
|
function PrecacheModel( a, b = true )
|
||||||
|
{
|
||||||
|
return PrecacheModel( a, b )
|
||||||
|
}
|
||||||
|
|
||||||
|
local PrecacheOther = PrecacheOther
|
||||||
|
function PrecacheOther( a, b = "" )
|
||||||
|
{
|
||||||
|
PrecacheOther( a, b )
|
||||||
|
}
|
||||||
|
|
||||||
function __ReplaceClosures( script, scope )
|
function __ReplaceClosures( script, scope )
|
||||||
{
|
{
|
||||||
if ( !scope )
|
if ( !scope )
|
||||||
|
Loading…
Reference in New Issue
Block a user