From: Mario Date: Sat, 31 Dec 2016 11:06:25 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.2~338 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=444d8df58e31cfd1be489176c7a398940dca3194;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index 6220a0cea..d58575e04 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -175,7 +175,9 @@ ENDCLASS(OffhandWeapon) .OffhandWeapon offhand; #endif +#ifdef GAMEQC int max_shot_distance = 32768; // determined by world mins/maxs when map loads +#endif // weapon flags const int WEP_TYPE_OTHER = 0x00; // not for damaging people