shithub: choc

Download patch

ref: 0f4fc30659f54be17ebe7e9dc14f2e7b8d8a1cb8
parent: 8878f9e71edf05a44d6dc46a4a03e116ea100b7b
author: Simon Howard <fraggle@gmail.com>
date: Fri Oct 3 13:12:25 EDT 2008

Fix bug in previous commit.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1328

--- a/src/heretic/p_spec.c
+++ b/src/heretic/p_spec.c
@@ -422,7 +422,7 @@
 
         if (other != NULL && other->floorheight > height)
         {
-            if (min < other->floorheight)
+            if (other->floorheight < min)
             {
                 min = other->floorheight;
             }