From a536adece72ceda70a802697d7d4e07d681bb0ab Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sat, 10 Jun 2023 05:21:59 +0200 Subject: [PATCH] battle royale: check for noimpact and nomarks flag in drop from sky code, matches dropship code --- qcsrc/common/gamemodes/gamemode/br/sv_events.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/gamemodes/gamemode/br/sv_events.qc b/qcsrc/common/gamemodes/gamemode/br/sv_events.qc index b5c8a46a9..01c28f7b8 100644 --- a/qcsrc/common/gamemodes/gamemode/br/sv_events.qc +++ b/qcsrc/common/gamemodes/gamemode/br/sv_events.qc @@ -67,7 +67,7 @@ bool drop_from_sky(entity this) move_success = true; tracebox(this.origin, this.mins, this.maxs, this.origin + '0 0 65536', MOVE_NORMAL, this); - if(!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_SKY)) + if(!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_SKY | Q3SURFACEFLAG_NOIMPACT | Q3SURFACEFLAG_NOMARKS)) continue; setorigin(this, trace_endpos); -- 2.39.2