Merge branch 'master' into terencehill/hud_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / racetimer.qc
index ca45f352fba6cf614b01bbf6e8df4683e0a0fb9d..365ba01dd74babd7540df066241633f9001255fe 100644 (file)
@@ -1,8 +1,13 @@
+#include "racetimer.qh"
+
+#include <common/mapinfo.qh>
+
 /** Race timer (#8) */
 
 // return the string of the onscreen race timer
 string MakeRaceString(int cp, float mytime, float theirtime, float lapdelta, string theirname)
 {
+       TC(int, cp);
        string col;
        string timestr;
        string cpname;