diff options
author | Tim Angus <tim@ngus.net> | 2014-09-01 13:03:06 +0100 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-03-17 11:38:07 +0000 |
commit | 2fa517d7df5324a11b6b818bd1f22b372bb12823 (patch) | |
tree | 8b062ce22c6f7bc7183a9050b38261efa779d87b /src/renderergl2 | |
parent | bf03a00fc4f11e72b95bc47fd0c4113413036067 (diff) |
Fix more warnings
Diffstat (limited to 'src/renderergl2')
-rw-r--r-- | src/renderergl2/tr_bsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderergl2/tr_bsp.c b/src/renderergl2/tr_bsp.c index 57fee661..acc77c98 100644 --- a/src/renderergl2/tr_bsp.c +++ b/src/renderergl2/tr_bsp.c @@ -1615,7 +1615,7 @@ int R_StitchPatches( int grid1num, int grid2num ) { } for (m = 0; m < 2; m++) { - if (grid2->height >= MAX_GRID_SIZE) + if (!grid2 || grid2->height >= MAX_GRID_SIZE) break; if (m) offset2 = grid2->width-1; else offset2 = 0; |