]> 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 b287b148f3175727cebf8fa1e44a288099ae8e2b..d58575e04c16e8a8317e0b9cd4401c56ef133726 100644 (file)
@@ -175,7 +175,9 @@ ENDCLASS(OffhandWeapon)
 .OffhandWeapon offhand;
 #endif
 
-const int MAX_SHOT_DISTANCE = 32768;
+#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