diff --git a/src/engine/renderer/tr_world.cpp b/src/engine/renderer/tr_world.cpp index 393d213066..caddc5f1f7 100644 --- a/src/engine/renderer/tr_world.cpp +++ b/src/engine/renderer/tr_world.cpp @@ -625,13 +625,8 @@ static bspNode_t *R_PointInLeaf( const vec3_t p ) bspNode_t *node = tr.world->nodes; - while ( true ) + while ( node->contents == -1 ) { - if ( node->contents != -1 ) - { - break; - } - cplane_t *plane = node->plane; float d = DotProduct( p, plane->normal ) - plane->dist;