X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_race.qh;h=0e20b9b57a06bdd47ded366efcba576b4e08356f;hb=74a4e5c118426a16f5656cdefbb0f5efa2f71124;hp=32829a25c9166bd70905b5785f75c4067ca007e5;hpb=3bd825ec4ff3c071ccefb2b4424339b3b4b49315;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode_race.qh b/qcsrc/server/mutators/gamemode_race.qh index 32829a25c..0e20b9b57 100644 --- a/qcsrc/server/mutators/gamemode_race.qh +++ b/qcsrc/server/mutators/gamemode_race.qh @@ -1,8 +1,12 @@ +#ifndef GAMEMODE_RACE_H +#define GAMEMODE_RACE_H + float g_race_qualifying; float race_teams; // scores -#define ST_RACE_LAPS 1 -#define SP_RACE_LAPS 4 -#define SP_RACE_TIME 5 -#define SP_RACE_FASTEST 6 +const float ST_RACE_LAPS = 1; +const float SP_RACE_LAPS = 4; +const float SP_RACE_TIME = 5; +const float SP_RACE_FASTEST = 6; +#endif