From: Mattia Basaglia Date: Fri, 24 Mar 2017 15:41:14 +0000 (+0000) Subject: Allow spawning portals in tighter spaces X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de774af4ff7bba1cb2fa2fcd12c5b858117a13a1;p=xonotic%2Fxonotic-data.pk3dir.git Allow spawning portals in tighter spaces --- diff --git a/qcsrc/server/portals.qc b/qcsrc/server/portals.qc index 99125a1a3..77efdc4e5 100644 --- a/qcsrc/server/portals.qc +++ b/qcsrc/server/portals.qc @@ -624,7 +624,8 @@ entity Portal_Spawn(entity own, vector org, vector ang) entity portal; fixedmakevectors(ang); - if(!CheckWireframeBox(own, org - 48 * v_right - 48 * v_up + 16 * v_forward, 96 * v_right, 96 * v_up, 96 * v_forward)) + + if(!CheckWireframeBox(own, org - 48 * v_right - 48 * v_up + 16 * v_forward, 96 * v_right, 96 * v_up, 32 * v_forward)) return NULL; portal = new(portal);