X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_keyhunt.qc;h=c5cd477aa418a9fc4be83bf3a5c8ba2218d34520;hp=7b3ea98af6dc0dc558224870e604164259e969d3;hb=971eb36c4ccfde80cd46767b0c20e2d97350821e;hpb=231a171085a2b16b93a3f91d6b533f0027490c64 diff --git a/qcsrc/server/mutators/gamemode_keyhunt.qc b/qcsrc/server/mutators/gamemode_keyhunt.qc index 7b3ea98af6..c5cd477aa4 100644 --- a/qcsrc/server/mutators/gamemode_keyhunt.qc +++ b/qcsrc/server/mutators/gamemode_keyhunt.qc @@ -67,13 +67,13 @@ string kh_sound_alarm = "kh/alarm.wav"; // the new siren/alarm float kh_key_dropped, kh_key_carried; -#define ST_KH_CAPS 1 -#define SP_KH_CAPS 4 -#define SP_KH_PUSHES 5 -#define SP_KH_DESTROYS 6 -#define SP_KH_PICKUPS 7 -#define SP_KH_KCKILLS 8 -#define SP_KH_LOSSES 9 +const float ST_KH_CAPS = 1; +const float SP_KH_CAPS = 4; +const float SP_KH_PUSHES = 5; +const float SP_KH_DESTROYS = 6; +const float SP_KH_PICKUPS = 7; +const float SP_KH_KCKILLS = 8; +const float SP_KH_LOSSES = 9; void kh_ScoreRules(float teams) { ScoreRules_basics(teams, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_PRIMARY, TRUE);