int surfaceindex;
int t;
int nodeleafindex;
- const int *nodeleaflist;
int currentmaterialflags;
qboolean castshadow;
msurface_t *surface;
node = bih->nodes + nodenum;
if (node->type == BIH_UNORDERED)
{
- nodeleaflist = node->children;
for (nodeleafindex = 0;nodeleafindex < BIH_MAXUNORDEREDCHILDREN && node->children[nodeleafindex] >= 0;nodeleafindex++)
{
leaf = bih->leafs + node->children[nodeleafindex];