From 5aaf7b577d9e73f905c7b53337d5e29dcc898962 Mon Sep 17 00:00:00 2001 From: frehall Date: Tue, 31 Oct 2023 17:36:07 +0100 Subject: [PATCH 1/2] New go on adding amount of rockets fired to endgame stats --- src/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stats.c b/src/stats.c index aa6acfbdd..4fe1626bd 100644 --- a/src/stats.c +++ b/src/stats.c @@ -747,8 +747,8 @@ void OnePlayerStats(gedict_t *p, int tp) // rockets detail if (!lgc_enabled()) { - G_bprint(2, "%s: %s:%.1f %s:%.0f\n", redtext("RL skill"), redtext("ad"), - vh_rl ? (dmg_g_rl / vh_rl) : 0., redtext("dh"), h_rl); + G_bprint(2, "%s: %s:%.1f %s:%.0f/%.0f\n", redtext("RL skill"), redtext("ad"), + vh_rl ? (dmg_g_rl / vh_rl) : 0., redtext("dh"), h_rl, a_rl); } // velocity From ff2873e1625291c264ca2f2845e480345991e078 Mon Sep 17 00:00:00 2001 From: frehall Date: Tue, 14 Nov 2023 23:14:59 +0100 Subject: [PATCH 2/2] Third attempt --- src/stats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stats.c b/src/stats.c index 4fe1626bd..28ace0a39 100644 --- a/src/stats.c +++ b/src/stats.c @@ -739,7 +739,7 @@ void OnePlayerStats(gedict_t *p, int tp) // weapons G_bprint(2, "%s:%s%s%s%s%s\n", redtext("Wp"), (a_lg ? va(" %s%.1f%% (%d/%d)", redtext("lg"), e_lg, (int)h_lg, (int)a_lg) : ""), - (ph_rl ? va(" %s%.1f%%", redtext("rl"), ph_rl) : ""), + (ph_rl ? va(" %s%.1f%% (%d/%d)", redtext("rl"), ph_rl, (int)vh_rl, (int)a_rl) : ""), (ph_gl ? va(" %s%.1f%%", redtext("gl"), ph_gl) : ""), (e_sg ? va(" %s%.1f%%", redtext("sg"), e_sg) : ""), (e_ssg ? va(" %s%.1f%%", redtext("ssg"), e_ssg) : "")); @@ -747,8 +747,8 @@ void OnePlayerStats(gedict_t *p, int tp) // rockets detail if (!lgc_enabled()) { - G_bprint(2, "%s: %s:%.1f %s:%.0f/%.0f\n", redtext("RL skill"), redtext("ad"), - vh_rl ? (dmg_g_rl / vh_rl) : 0., redtext("dh"), h_rl, a_rl); + G_bprint(2, "%s: %s:%.1f %s:%.0f\n", redtext("RL skill"), redtext("ad"), + vh_rl ? (dmg_g_rl / vh_rl) : 0., redtext("dh"), h_rl); } // velocity