Additional crash fix for papersprites.

This commit is contained in:
toaster 2019-10-13 11:53:53 +01:00
parent a03ecac921
commit a550eb79d3

View file

@ -1230,7 +1230,7 @@ static void R_ProjectSprite(mobj_t *thing)
else
range = 1;
scalestep = (yscale2 - yscale)/range;
scalestep = (yscale2 - yscale)/range ?: 1;
// The following two are alternate sorting methods which might be more applicable in some circumstances. TODO - maybe enable via MF2?
// sortscale = max(yscale, yscale2);