From e219645577a1037454b0a4a9207674a91ceca018 Mon Sep 17 00:00:00 2001 From: Latapostrophe Date: Mon, 24 Jun 2019 12:51:18 +0200 Subject: [PATCH] handle clipping like literally every hw renderer ever --- src/r_things.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/r_things.c b/src/r_things.c index b2170924..97b22c13 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -259,6 +259,11 @@ static boolean R_AddSingleSpriteDef(const char *sprname, spritedef_t *spritedef, //BP: we cannot use special tric in hardware mode because feet in ground caused by z-buffer if (rendermode != render_none) // not for psprite spritecachedinfo[numspritelumps].topoffset += 4<0 && SHORT(patch.topoffset)