- fixed copy&paste error in LowestFloorAt.

This commit is contained in:
Christoph Oelckers 2016-02-16 23:11:20 +01:00
parent 8d53f6176e
commit fd7e6ae604

View file

@ -928,7 +928,7 @@ fixed_t sector_t::LowestFloorAt(fixed_t x, fixed_t y, sector_t **resultsec)
check = P_PointInSector(x, y);
}
if (resultsec) *resultsec = check;
return check->ceilingplane.ZatPoint(x, y);
return check->floorplane.ZatPoint(x, y);
}