From 50d2cdc9aa93609a747ef2b08ff4187658c82cb5 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Sat, 2 Jul 2022 03:00:07 +0200 Subject: [PATCH] Spawn the same drop position of vehicles for the turrets --- qcsrc/common/turrets/sv_turrets.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/turrets/sv_turrets.qc b/qcsrc/common/turrets/sv_turrets.qc index 2b791bbd9d..0d4dd74e4a 100644 --- a/qcsrc/common/turrets/sv_turrets.qc +++ b/qcsrc/common/turrets/sv_turrets.qc @@ -1478,8 +1478,8 @@ entity spawnturret (entity e, string turret, Turret tur, entity spawnedby, entit if(!(e.spawnflags & TSF_SUSPENDED)) { delete(e); return NULL; } // remove even if told not to, as we didn't spawn any kind of turret // don't spawn suspended in the air, spawn on the ground - setorigin(e, e.origin + '0 0 20'); - tracebox(e.origin + '0 0 64', e.mins, e.maxs, e.origin - '0 0 10000', MOVE_WORLDONLY, e); + setorigin(e, e.origin); + tracebox(e.origin + '0 0 100', tur.m_mins, tur.m_maxs, e.origin - '0 0 10000', MOVE_WORLDONLY, e); setorigin(e, trace_endpos); // spawn! -- 2.39.2