- reinstated bug in pushmove not to check the first wall when scanning backwards.

Seems we need this in a few places.
This commit is contained in:
Christoph Oelckers 2021-12-20 17:32:11 +01:00
parent 68c87db6ec
commit c546bfc1ca

View file

@ -924,7 +924,7 @@ int pushmove_(vec3_t *const vect, int *const sectnum,
bad = -1;
k--; if (k <= 0) return bad;
clipupdatesector(vect->vec2, sectnum, walldist);
if (enginecompatibility_mode == ENGINECOMPATIBILITY_NONE && *sectnum < 0) return -1;
if (*sectnum < 0) return -1;
}
else if (!clipsectormap[wal->nextsector])
addclipsect(wal->nextsector);