commit 0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Fri Oct 3 17:12:25 2008 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Fri Oct 3 17:12:25 2008 +0000
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(-)
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;
}