Fixed Doom Classic rendering artefacts #373

This commit is contained in:
Robert Beckebans 2018-09-30 17:00:44 +02:00
parent 8da073ef6c
commit 09b7c52dec

View file

@ -368,7 +368,7 @@ R_StoreWallRange
// calculate ::g->rw_distance for scale calculation
::g->rw_normalangle = ::g->curline->angle + ANG90;
offsetangle = abs((long)(::g->rw_normalangle-::g->rw_angle1));
offsetangle = abs((int)(::g->rw_normalangle-::g->rw_angle1));
if (offsetangle > ANG90)
offsetangle = ANG90;