From 0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 3 Oct 2008 17:12:25 +0000 Subject: Fix bug in previous commit. Subversion-branch: /branches/raven-branch Subversion-revision: 1328 --- src/heretic/p_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3