cstrike: changed gravity modifier for the grenades. Assuming they're half, since consistent with HL's default frag.
This commit is contained in:
parent
fdc4227d00
commit
0c6d905c7b
3 changed files with 3 additions and 0 deletions
|
@ -136,6 +136,7 @@ void WeaponFLASHBANG_Throw( void ) {
|
|||
eNade.avelocity = ( v_forward * 600 );
|
||||
eNade.movetype = MOVETYPE_BOUNCE;
|
||||
eNade.touch = Weapon_FLASHBANG_Touch;
|
||||
eNade.gravity = 0.5f;
|
||||
|
||||
eNade.think = WeaponFLASHBANG_Explode;
|
||||
eNade.nextthink = time + 3.0f;
|
||||
|
|
|
@ -118,6 +118,7 @@ void WeaponHEGRENADE_Throw( void ) {
|
|||
eNade.avelocity = ( v_forward * 1000 );
|
||||
eNade.movetype = MOVETYPE_BOUNCE;
|
||||
eNade.touch = Weapon_HEGRENADE_Touch;
|
||||
eNade.gravity = 0.5f;
|
||||
|
||||
eNade.think = WeaponHEGRENADE_Explode;
|
||||
eNade.nextthink = time + 3.0f;
|
||||
|
|
|
@ -129,6 +129,7 @@ void WeaponSMOKEGRENADE_Throw( void ) {
|
|||
eNade.touch = Weapon_SMOKEGRENADE_Touch;
|
||||
eNade.think = WeaponSMOKEGRENADE_Explode;
|
||||
eNade.nextthink = time + 3.0f;
|
||||
eNade.gravity = 0.5f;
|
||||
|
||||
self.iAmmo_SMOKEGRENADE--;
|
||||
|
||||
|
|
Loading…
Reference in a new issue