From de774af4ff7bba1cb2fa2fcd12c5b858117a13a1 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Fri, 24 Mar 2017 15:41:14 +0000 Subject: [PATCH] Allow spawning portals in tighter spaces --- qcsrc/server/portals.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2