]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/counting.qh
Minigame code and cfg
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / counting.qh
index 0aeabc85e7b092e9800199fd2672c9b475a0a088..17c5f89bcddf9968f07ddef29f0e0fadd99abc33 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef COUNTING_H
+#define COUNTING_H
+
 // ===============================================
 //  Time processing and counting functions/macros
 // ===============================================
@@ -51,7 +54,7 @@
                ZCTX(_("CI_THI^%d seconds")), /* third */ \
                ZCTX(_("CI_MUL^%d seconds"))) /* multi */
 
-string count_ordinal(float interval)
+string count_ordinal(int interval)
 {
        // This function is designed primarily for the English language, it's impossible
        // to accomodate all languages unless we do a specific function for each one...
@@ -215,3 +218,4 @@ string process_time(float outputtype, float seconds)
        }
        return "";
 }
+#endif