From: Martin Taibr Date: Tue, 13 Dec 2016 12:44:12 +0000 (+0100) Subject: increase MAX_SHOT_DISTANCE again X-Git-Tag: xonotic-v0.8.2~341^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=69c7776215f174112f84f500af8df8b51cfe10a5;p=xonotic%2Fxonotic-data.pk3dir.git increase MAX_SHOT_DISTANCE again --- diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index b7a60df8a..e2e978d72 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -175,8 +175,9 @@ ENDCLASS(OffhandWeapon) .OffhandWeapon offhand; #endif -// distance from one corner of a 65536qu cube to the opposite corner is approx. 113512 qu -const int MAX_SHOT_DISTANCE = 120000; +// 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; // weapon flags const int WEP_TYPE_OTHER = 0x00; // not for damaging people