Nail a likely culprit in papersprite rendering for #427 and #375.

This commit is contained in:
toaster 2019-12-01 13:21:41 +00:00
parent ae2594e5ce
commit f21ebaea0c

View file

@ -1338,7 +1338,7 @@ static void R_ProjectSprite(mobj_t *thing)
return;
if ((range = x2 - x1) <= 0)
range = 1;
return;
scalestep = (yscale2 - yscale)/range;
scalestep = scalestep ? scalestep : 1;