Skip to content

Commit

Permalink
cgame: Fix antigrav rocks falling in a non-interactable entity place …
Browse files Browse the repository at this point in the history
…(blocked by a brush or skybox)
  • Loading branch information
LegendaryGuard committed Aug 20, 2024
1 parent 4511a38 commit 66c7fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/cgame/cg_particles.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66c7fad

Please sign in to comment.