]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
integers ftw
authorSamual Lenks <samual@xonotic.org>
Sat, 22 Sep 2012 00:01:41 +0000 (20:01 -0400)
committerSamual Lenks <samual@xonotic.org>
Sat, 22 Sep 2012 00:01:41 +0000 (20:01 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index 0284c9f8c22f20fe4dc2fce1db71601ed3f37c3f..705469d6efd3a694d76a2e95024066d79873e24e 100644 (file)
@@ -1878,7 +1878,7 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey)
                                }
                                else
                                {
-                                       centerprint(player, strcat("Too many flag throws, throwing disabled for ", ftos((player.throw_prevtime + autocvar_g_ctf_throw_punish_delay) - time), " seconds."));
+                                       centerprint(player, strcat("Too many flag throws, throwing disabled for ", ftos(rint((player.throw_prevtime + autocvar_g_ctf_throw_punish_delay) - time)), " seconds."));
                                        return FALSE;
                                }
                        }