From a2b26c3bf440e98971dde220a28e6bcf71bf7a5a Mon Sep 17 00:00:00 2001 From: toasterbabe <rollerorbital@gmail.com> Date: Tue, 16 Aug 2016 23:25:01 +0100 Subject: [PATCH] Forgot a border of screen consideration --- src/r_things.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/r_things.c b/src/r_things.c index 5898eb21fd..f17b4ec52a 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -1413,7 +1413,10 @@ static void R_ProjectSprite(mobj_t *thing) } if (vis->x1 > x1) + { vis->startfrac += FixedDiv(vis->xiscale, this_scale)*(vis->x1-x1); + vis->scale += scalestep*(vis->x1 - x1); + } //Fab: lumppat is the lump number of the patch to use, this is different // than lumpid for sprites-in-pwad : the graphics are patched -- GitLab