mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 19:29:13 +01:00
Fix func_button's sparks origin when func_button has origin brush (#291)
This commit is contained in:
parent
d3dba792b1
commit
3b0046cb3d
@ -639,7 +639,7 @@ void CBaseButton::ButtonSpark( void )
|
|||||||
SetThink( &CBaseButton::ButtonSpark );
|
SetThink( &CBaseButton::ButtonSpark );
|
||||||
pev->nextthink = pev->ltime + 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->absmin );
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user