diff --git a/src/r_things.c b/src/r_things.c index 9763648cd..afdc3b223 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -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;