Compiling fixes.

This commit is contained in:
toasterbabe 2016-06-07 19:44:43 +01:00
parent aa113045d7
commit 51c769247a

View file

@ -2977,8 +2977,8 @@ static void P_DoTeeter(player_t *player)
sec = R_PointInSubsector(checkx, checky)->sector; sec = R_PointInSubsector(checkx, checky)->sector;
fixed_t ceilingheight = sec->ceilingheight; ceilingheight = sec->ceilingheight;
fixed_t floorheight = sec->floorheight; floorheight = sec->floorheight;
#ifdef ESLOPE #ifdef ESLOPE
if (sec->c_slope) if (sec->c_slope)
ceilingheight = P_GetZAt(sec->c_slope, checkx, checky); ceilingheight = P_GetZAt(sec->c_slope, checkx, checky);