]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/tjunction.c
Merge commit '173f350be76237a7dee9c00c389dff4e56b3da4c' into garux-merge
[xonotic/netradiant.git] / tools / quake3 / q3map2 / tjunction.c
index 1929e3e8b229ee3c09b5104517578374b7b5665b..c6924dbe63f384880c354cb4901fd345ebac0938 100644 (file)
@@ -603,7 +603,7 @@ int EdgeCompare( const void *elem1, const void *elem2 ) {
        if ( d1 < d2 ) {
                return -1;
        }
-       if ( d2 > d1 ) {
+       if ( d1 > d2 ) {
                return 1;
        }
        return 0;