]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cgame.c
huge (16%) speed gain on surface rendering by eliminating the surfmesh chain in q1bsp...
[xonotic/darkplaces.git] / cgame.c
diff --git a/cgame.c b/cgame.c
index 98d9a16cf6921756ec498bf32cbdb690de1ceb01..86da9a53d8074849f5d6ee6981eb276349164949 100644 (file)
--- a/cgame.c
+++ b/cgame.c
@@ -48,7 +48,7 @@ static localentity_t *entspawn(void)
 {
        int i, best;
        float bestfreetime;
-       bestfreetime = gametime + 100.0f;
+       bestfreetime = (float) (gametime + 100.0);
        best = -1;
        for (i = 0;i < MAX_LOCALENTITIES;i++)
        {