diff options
author | Simon Howard | 2008-10-03 17:12:25 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-03 17:12:25 +0000 |
commit | 0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8 (patch) | |
tree | 9855b8587019c416f7c337db6d84b1be9abece64 | |
parent | 8878f9e71edf05a44d6dc46a4a03e116ea100b7b (diff) | |
download | chocolate-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
-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; } |