File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ void AL_ProjectProjectile (entity projectile) {
29
29
}
30
30
31
31
float AL_GrenadeOffset() {
32
- if (!CF_GetSetting("pg", " project_grenades", "off") )
32
+ if (!project_grenades)
33
33
return 0;
34
34
35
35
local float offset = infokeyf(self, INFOKEY_P_PING) / 1000;
Original file line number Diff line number Diff line change @@ -622,9 +622,12 @@ void () DecodeLevelParms = {
622
622
// project projectile weapons by player ping
623
623
project_weapons = CF_GetSetting("pw", "project_weapons", "off");
624
624
625
- // max projection latency (default 100ms)
625
+ // max projectile projection latency (default 100ms)
626
626
project_weapons_max_latency = CF_GetSetting("pwml", "project_weapons_max_latency", ftos(0.1));
627
627
628
+ // Correct grenade prime timing by player ping.
629
+ project_grenades = CF_GetSetting("pg", "project_grenades", "on");
630
+
628
631
// delay respawning by this many seconds [0]
629
632
Role_None.respawn_delay_time = CF_GetSetting("rd", "respawn_delay", "0");
630
633
if (Role_None.respawn_delay_time) {
@@ -1019,6 +1022,7 @@ void () DecodeLevelParms = {
1019
1022
medicaura = FALSE;
1020
1023
medicnocuss = FALSE;
1021
1024
project_weapons = FALSE;
1025
+ project_grenades = TRUE;
1022
1026
distance_based_cuss_duration = FALSE;
1023
1027
pyro_type = 1;
1024
1028
drop_grenades = FALSE;
Original file line number Diff line number Diff line change @@ -599,6 +599,7 @@ float max_armor_hwguy;
599
599
600
600
float project_weapons;
601
601
float project_weapons_max_latency;
602
+ float project_grenades;
602
603
603
604
float ng_velocity;
604
605
float ng_damage;
You can’t perform that action at this time.
0 commit comments