From 69c7776215f174112f84f500af8df8b51cfe10a5 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Tue, 13 Dec 2016 13:44:12 +0100 Subject: [PATCH] increase MAX_SHOT_DISTANCE again --- qcsrc/common/weapons/weapon.qh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2