diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 7c0d46117..ea8f139a6 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -1938,7 +1938,7 @@ int P_RunParticleEffectState (vec3_t org, vec3_t dir, float count, int typenum, return 1; // inwater check, switch only once - if (r_part_contentswitch.value && ptype->inwater >= 0) + if (r_part_contentswitch.value && ptype->inwater >= 0 && cl.worldmodel) { int cont; cont = cl.worldmodel->funcs.PointContents(cl.worldmodel, org);