diff options
Diffstat (limited to 'src/heretic/p_spec.c')
-rw-r--r-- | src/heretic/p_spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_spec.c b/src/heretic/p_spec.c index 274d725b..ee454c05 100644 --- a/src/heretic/p_spec.c +++ b/src/heretic/p_spec.c @@ -422,7 +422,7 @@ fixed_t P_FindNextHighestFloor(sector_t * sec, int currentheight) if (other != NULL && other->floorheight > height) { - if (min < other->floorheight) + if (other->floorheight < min) { min = other->floorheight; } |