1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-06-21 16:11:41 +00:00

fixed a terrain-related Redemption crash

This commit is contained in:
Marc Zinnschlag 2012-03-30 15:52:09 +02:00
parent 2d2af4b28a
commit 557e97bab4

View file

@ -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);