From b05865224ecfe710b5d77681de7e46a6b9870e5e Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 22 Dec 2007 10:40:20 +0000 Subject: [PATCH] qups -> qu/s, in Nexuiz in/s git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7837 d7cf8633-e32d-0410-b094-e92efae38249 --- sbar.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sbar.c b/sbar.c index d7188792..306b8167 100644 --- a/sbar.c +++ b/sbar.c @@ -88,7 +88,7 @@ cachepic_t *sb_inter; cachepic_t *sb_finale; cvar_t showfps = {CVAR_SAVE, "showfps", "0", "shows your rendered fps (frames per second)"}; -cvar_t showspeed = {CVAR_SAVE, "showspeed", "0", "shows your current speed (qu per second); number selects unit: 1 = qups, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots"}; +cvar_t showspeed = {CVAR_SAVE, "showspeed", "0", "shows your current speed (qu per second); number selects unit: 1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots"}; cvar_t showtime = {CVAR_SAVE, "showtime", "0", "shows current time of day (useful on screenshots)"}; cvar_t showtime_format = {CVAR_SAVE, "showtime_format", "%H:%M:%S", "format string for time of day"}; cvar_t showdate = {CVAR_SAVE, "showdate", "0", "shows current date (useful on screenshots)"}; @@ -1084,7 +1084,10 @@ void Sbar_ShowFPS(void) { default: case 1: - unit = "qups"; + if(gamemode == GAME_NEXUIZ) + unit = "in/s"; + else + unit = "qu/s"; f = 1.0; break; case 2: -- 2.39.2