]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon.qh
Fix compile
[xonotic/xonotic-data.pk3dir.git] / 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