We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd717c commit 4753425Copy full SHA for 4753425
1 file changed
engine/common/mod_bmodel.c
@@ -2744,10 +2744,10 @@ static void Mod_LoadClipnodes( dbspmodel_t *bmod )
2744
2745
for( i = 0; i < bmod->numclipnodes; i++, out++, in++ )
2746
{
2747
- out->planenum = in->planenum;
+ out->planenum = LittleLong( in->planenum );
2748
2749
- out->children[0] = (unsigned short)in->children[0];
2750
- out->children[1] = (unsigned short)in->children[1];
+ out->children[0] = LittleShort( (unsigned short)in->children[0] );
+ out->children[1] = LittleShort( (unsigned short)in->children[1] );
2751
2752
// Arguire QBSP 'broken' clipnodes
2753
if( out->children[0] >= bmod->numclipnodes )
0 commit comments