Fix unneeded fixed_t height in R_3D_AddHeight()

This commit is contained in:
Randy Heit 2016-04-26 23:11:27 -05:00
parent ee43c4ff95
commit a029c7b664

View file

@ -53,11 +53,10 @@ void R_3D_AddHeight(secplane_t *add, sector_t *sec)
HeightLevel *near;
HeightLevel *curr;
double fheight = add->ZatPoint(ViewPos);
if(fheight >= sec->CenterCeiling()) return;
if(fheight <= sec->CenterFloor()) return;
double height = add->ZatPoint(ViewPos);
if(height >= sec->CenterCeiling()) return;
if(height <= sec->CenterFloor()) return;
fixed_t height = FLOAT2FIXED(fheight);
fakeActive = 1;
if(height_max >= 0) {