mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-13 07:21:31 +00:00
Fix forced contents (the negative-skins thing).
This commit is contained in:
parent
996621b3ec
commit
3888a64458
1 changed files with 1 additions and 1 deletions
|
@ -1306,7 +1306,7 @@ trace_t SV_Move (vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, e
|
||||||
memset ( &clip, 0, sizeof ( moveclip_t ) );
|
memset ( &clip, 0, sizeof ( moveclip_t ) );
|
||||||
|
|
||||||
if (type & MOVE_HITALLCONTENTS)
|
if (type & MOVE_HITALLCONTENTS)
|
||||||
clip.hitcontents = ~0u;
|
clip.hitcontents = ~CONTENTMASK_FROMQ1(CONTENTS_EMPTY);
|
||||||
else
|
else
|
||||||
clip.hitcontents = CONTENTMASK_ANYSOLID;
|
clip.hitcontents = CONTENTMASK_ANYSOLID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue