From f9c202f83e811623729f71c929461afd5fedaa74 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 26 Sep 2014 14:29:11 +0100 Subject: [PATCH] Use correct type for thinktime --- code/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/g_main.c b/code/game/g_main.c index 11a74d78..3d22ba0e 100644 --- a/code/game/g_main.c +++ b/code/game/g_main.c @@ -1729,7 +1729,7 @@ Runs thinking code for this frame if necessary ============= */ void G_RunThink (gentity_t *ent) { - float thinktime; + int thinktime; thinktime = ent->nextthink; if (thinktime <= 0) {