From 3888a64458c44e981584a65728750b6cf987872b Mon Sep 17 00:00:00 2001 From: Shpoike Date: Fri, 12 Nov 2021 04:05:50 +0000 Subject: [PATCH] Fix forced contents (the negative-skins thing). --- Quake/world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/world.c b/Quake/world.c index 19814c26..9489651d 100644 --- a/Quake/world.c +++ b/Quake/world.c @@ -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 ) ); if (type & MOVE_HITALLCONTENTS) - clip.hitcontents = ~0u; + clip.hitcontents = ~CONTENTMASK_FROMQ1(CONTENTS_EMPTY); else clip.hitcontents = CONTENTMASK_ANYSOLID;