From 66c7fada39487f971fc3476bb584628a33147004 Mon Sep 17 00:00:00 2001
From: LegendaryGuard <theasixchan777@gmail.com>
Date: Tue, 20 Aug 2024 12:40:36 +0200
Subject: [PATCH] cgame: Fix antigrav rocks falling in a non-interactable
 entity place (blocked by a brush or skybox)

---
 source/cgame/cg_particles.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/cgame/cg_particles.c b/source/cgame/cg_particles.c
index 37ebee3..ae4332f 100644
--- a/source/cgame/cg_particles.c
+++ b/source/cgame/cg_particles.c
@@ -412,8 +412,8 @@ void CG_AddParticleToScene (cparticle_t *p, vec3_t org, float alpha)
 			{
 				// BFP - To detect if there is something solid
 				trace_t		trace;
-				// contents should be MASK_DEADSOLID, so the particles don't touch any entity like the player
-				CG_Trace( &trace, p->org, vec3_origin, vec3_origin, org, -1, MASK_DEADSOLID );
+				// contents should be CONTENTS_SOLID, so the particles don't touch any entity like the player
+				CG_Trace( &trace, p->org, vec3_origin, vec3_origin, org, -1, CONTENTS_SOLID );
 
 				p->time = timenonscaled;
 				p->snum = 1; // handle the p->snum when already entered in this phase for correction of client side visuals