]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sorry, that one was wrong
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Dec 2007 18:14:19 +0000 (18:14 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Dec 2007 18:14:19 +0000 (18:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7849 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index da545f49a0e771d460541e71d96fde591287908b..ce98923cb229dae3dc13ecfbe203956618488ef2 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -1108,7 +1108,7 @@ void Sbar_ShowFPS(void)
                                break;
                        case 5:
                                unit = "knots";
-                               f = 0.0254 * 1.852;
+                               f = 0.0254 * 1.943844492; // 1 m/s = 1.943844492 knots, because 1 knot = 1.852 km/h
                                if(gamemode != GAME_NEXUIZ) f *= 1.5;
                                break;
                }