cstrike: changed gravity modifier for the grenades. Assuming they're half, since consistent with HL's default frag.

This commit is contained in:
Marco Cawthorne 2019-03-02 01:03:39 +01:00
parent fdc4227d00
commit 0c6d905c7b
3 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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--;