Fix byteswapping of a node's firstface/numfaces.

I'd forgotten to fix this.
This commit is contained in:
Bill Currie 2012-09-08 09:38:22 +09:00
parent beb0b9e0fc
commit cfb856b9cf

View file

@ -530,8 +530,8 @@ swap_bsp (bsp_t *bsp, int todisk, void (*cb) (const bsp_t *, void *),
} }
node->children[0] = LittleLong (node->children[0]); node->children[0] = LittleLong (node->children[0]);
node->children[1] = LittleLong (node->children[1]); node->children[1] = LittleLong (node->children[1]);
node->firstface = LittleShort (node->firstface); node->firstface = LittleLong (node->firstface);
node->numfaces = LittleShort (node->numfaces); node->numfaces = LittleLong (node->numfaces);
} }
// leafs // leafs