]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix wrong conversion factor of knots (Wikipedia has another opinion than feh on this)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Dec 2007 17:57:02 +0000 (17:57 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Dec 2007 17:57:02 +0000 (17:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7848 d7cf8633-e32d-0410-b094-e92efae38249

sbar.c

diff --git a/sbar.c b/sbar.c
index 306b81672d95dda9a94521957b40ebe1e959e491..da545f49a0e771d460541e71d96fde591287908b 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.943844492;
+                               f = 0.0254 * 1.852;
                                if(gamemode != GAME_NEXUIZ) f *= 1.5;
                                break;
                }