From 0bca19bfcf1b1d2a9165512b814b49e141f19a83 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 5 Aug 2002 19:18:15 +0000 Subject: [PATCH] fix for double to float warning in MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2205 d7cf8633-e32d-0410-b094-e92efae38249 --- cgame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgame.c b/cgame.c index 98d9a16c..86da9a53 100644 --- 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++) { -- 2.39.2