]> 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 e2e978d72e6b1849386b8bcc21ea7d7d545c2acb..d58575e04c16e8a8317e0b9cd4401c56ef133726 100644 (file)
@@ -175,9 +175,9 @@ ENDCLASS(OffhandWeapon)
 .OffhandWeapon offhand;
 #endif
 
-// currently, NetRadiant's limit is 131072 qu for each side
-// distance from one corner of a 131072qu cube to the opposite corner is approx. 227023 qu
-const int MAX_SHOT_DISTANCE = 230000;
+#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