From 653daa111a3eaf3d6e397fc8a6b4e0e7a573c3b5 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Wed, 24 Apr 2013 07:02:38 +0930 Subject: [PATCH] qbsp: invert sense of fillnode side initialisation Signed-off-by: Kevin Shanahan --- qbsp/outside.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/outside.c b/qbsp/outside.c index eaf666a7..3d90827f 100644 --- a/qbsp/outside.c +++ b/qbsp/outside.c @@ -490,7 +490,7 @@ FillOutside(node_t *node, const int hullnum, const int numportals) } /* first check to see if an occupied leaf is hit */ - side = !(outside_node.portals->nodes[1] == &outside_node); + side = (outside_node.portals->nodes[0] == &outside_node); fillnode = outside_node.portals->nodes[side]; leak_found = FindLeaks_r(&leak, ++map.fillmark, fillnode); if (leak_found) {