mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-06 19:01:04 +03:00
Fixed CG_Splash trace crash
This commit is contained in:
parent
2b6bd8c8d2
commit
e7768ce390
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue