forked from teamnwah/openmw-tes3coop
fixed a terrain-related Redemption crash
This commit is contained in:
parent
2d2af4b28a
commit
557e97bab4
1 changed files with 12 additions and 12 deletions
|
@ -160,7 +160,7 @@ namespace MWRender
|
|||
numTextures,
|
||||
indexes);
|
||||
|
||||
if ( land->landData->usingColours )
|
||||
if ( land && land->landData->usingColours )
|
||||
{
|
||||
// disable or enable global colour map (depends on available vertex colours)
|
||||
mActiveProfile->setGlobalColourMapEnabled(true);
|
||||
|
|
Loading…
Reference in a new issue