mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-13 14:42:01 +00:00
Merge 2ca64e11b0
This commit is contained in:
parent
ea9eb82646
commit
9fecfb50f3
@ -637,7 +637,7 @@ void DoSpark( entvars_t *pev, const Vector &location )
|
|||||||
void CBaseButton::ButtonSpark( void )
|
void CBaseButton::ButtonSpark( void )
|
||||||
{
|
{
|
||||||
SetThink( &CBaseButton::ButtonSpark );
|
SetThink( &CBaseButton::ButtonSpark );
|
||||||
pev->nextthink = gpGlobals->time + 0.1f + RANDOM_FLOAT( 0.0f, 1.5f );// spark again at random interval
|
pev->nextthink = pev->ltime + 0.1f + RANDOM_FLOAT( 0.0f, 1.5f );// spark again at random interval
|
||||||
|
|
||||||
DoSpark( pev, pev->mins );
|
DoSpark( pev, pev->mins );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user