mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
[q3map2] Fix errnoneous plane access if plane was not found
This commit is contained in:
parent
94849adc93
commit
606d72adf2
1 changed files with 1 additions and 1 deletions
|
@ -1086,7 +1086,7 @@ static void ParseRawBrush( qboolean onlyLights ){
|
|||
side->planenum = planenum;
|
||||
|
||||
/* bp: get the texture mapping for this texturedef / plane combination */
|
||||
if ( g_bBrushPrimit == BPRIMIT_OLDBRUSHES ) {
|
||||
if ( g_bBrushPrimit == BPRIMIT_OLDBRUSHES && planenum != -1 ) {
|
||||
QuakeTextureVecs( &mapplanes[ planenum ], shift, rotate, scale, side->vecs );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue