From: Mario Date: Sat, 24 Jan 2015 07:43:39 +0000 (+1100) Subject: Fix a weird crash (hoping there aren't any more of these, looks like a very specific... X-Git-Tag: xonotic-v0.8.1~133^2~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa866734d4f5318b9c4ec597245c522bc187b966;p=xonotic%2Fxonotic-data.pk3dir.git Fix a weird crash (hoping there aren't any more of these, looks like a very specific function causing issues) --- diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 083de41b6..2d8972bef 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -175,7 +175,7 @@ const float SFL_SORT_PRIO_MASK = 12; /** * Score indices */ -const float MAX_SCORE = 10; +#define MAX_SCORE 10 const float MAX_TEAMSCORE = 2; const float ST_SCORE = 0;