From e7768ce390c33b682950e8279d0578fe8229ee3f Mon Sep 17 00:00:00 2001 From: OM Date: Mon, 15 May 2023 14:58:57 +0200 Subject: [PATCH] Fixed CG_Splash trace crash --- code/cgame/cg_specialfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cgame/cg_specialfx.cpp b/code/cgame/cg_specialfx.cpp index ae2d5a26..09f37ddc 100644 --- a/code/cgame/cg_specialfx.cpp +++ b/code/cgame/cg_specialfx.cpp @@ -1032,7 +1032,7 @@ void CG_Splash( centity_t *cent ) { } // trace down to find the surface - cgi.CM_BoxTrace( &trace, start, end, NULL, NULL, 0, ( CONTENTS_WATER | CONTENTS_SLIME | CONTENTS_LAVA ), qfalse ); + cgi.CM_BoxTrace( &trace, start, end, vec3_origin, vec3_origin, 0, ( CONTENTS_WATER | CONTENTS_SLIME | CONTENTS_LAVA ), qfalse ); if ( trace.fraction == 1.0 ) { return;