summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2008-10-03 17:12:25 +0000
committerSimon Howard2008-10-03 17:12:25 +0000
commit0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8 (patch)
tree9855b8587019c416f7c337db6d84b1be9abece64 /src
parent8878f9e71edf05a44d6dc46a4a03e116ea100b7b (diff)
downloadchocolate-doom-0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8.tar.gz
chocolate-doom-0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8.tar.bz2
chocolate-doom-0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8.zip
Fix bug in previous commit.
Subversion-branch: /branches/raven-branch Subversion-revision: 1328
Diffstat (limited to 'src')
-rw-r--r--src/heretic/p_spec.c2
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;
}