mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-22 05:00:54 -05:00
Trample Steam: fix number of activations being inaccurate
This commit is contained in:
@ -105,6 +105,17 @@ springpadthink( weapon, electricradius, armed )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player_fling( origin, angles, velocity, weapon )
|
||||||
|
{
|
||||||
|
torigin = ( self.origin[0], self.origin[1], origin[2] );
|
||||||
|
aorigin = ( origin + torigin ) * 0.5;
|
||||||
|
trace = physicstrace( origin, torigin, vectorscale( ( -1, -1, 0 ), 15.0 ), ( 15, 15, 30 ), self );
|
||||||
|
|
||||||
|
self setorigin( aorigin );
|
||||||
|
wait_network_frame();
|
||||||
|
self setvelocity( velocity );
|
||||||
|
}
|
||||||
|
|
||||||
wait_for_targets( weapon )
|
wait_for_targets( weapon )
|
||||||
{
|
{
|
||||||
weapon endon( "hi_priority_target" );
|
weapon endon( "hi_priority_target" );
|
||||||
|
Reference in New Issue
Block a user