forked from teamnwah/openmw-tes3coop
additional safety check for land texture listing merge stage
This commit is contained in:
parent
b0641934d4
commit
69045d7ec9
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ void CSMTools::ListLandTexturesMergeStage::perform (int stage, CSMDoc::Messages&
|
|||
land.loadData (ESM::Land::DATA_VHGT | ESM::Land::DATA_VNML |
|
||||
ESM::Land::DATA_VCLR | ESM::Land::DATA_VTEX | ESM::Land::DATA_WNAM);
|
||||
|
||||
if (land.mLandData)
|
||||
if (land.mLandData && land.mDataLoaded & ESM::Land::DATA_VTEX)
|
||||
{
|
||||
// list texture indices
|
||||
std::pair<uint16_t, int> key;
|
||||
|
|
Loading…
Reference in a new issue