mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed crash due to trace.allSolid not being initialized
This commit is contained in:
parent
ae4ea14b35
commit
ab534623c4
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ qboolean VSS_SourcePhysics(cvssource_t *pSource, float ftime)
|
|||
pSource->lastOrigin = pSource->newOrigin;
|
||||
|
||||
if (pSource->flags & 0x800) {
|
||||
trace.allsolid = qfalse;
|
||||
CG_ClipMoveToEntities(
|
||||
pSource->newOrigin, vec3_origin, vec3_origin, pSource->newOrigin, -1, MASK_VOLUMETRIC_SMOKE, &trace, qfalse
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue