]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Sat, 31 Dec 2016 11:06:25 +0000 (21:06 +1000)
committerMario <mario@smbclan.net>
Sat, 31 Dec 2016 11:06:25 +0000 (21:06 +1000)
qcsrc/common/weapons/weapon.qh

index 6220a0cea9723fc94493d67747f287df67910337..d58575e04c16e8a8317e0b9cd4401c56ef133726 100644 (file)
@@ -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