]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
qups -> qu/s, in Nexuiz in/s
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Dec 2007 10:40:20 +0000 (10:40 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Dec 2007 10:40:20 +0000 (10:40 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7837 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index d718879271033d8ce9e56b3875a1d587ccca34bb..306b81672d95dda9a94521957b40ebe1e959e491 100644 (file)
--- 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: