Ymap: Added bit 10 (of contentFlags) assertion for GrassInstanceBatches

This commit is contained in:
Carmine 2018-02-27 19:18:20 +01:00
parent a7cbfa7be3
commit 974e67ce46

View File

@ -1050,6 +1050,10 @@ namespace CodeWalker.GameFiles
{ {
contentFlags = SetBit(contentFlags, 6); //64 contentFlags = SetBit(contentFlags, 6); //64
} }
if ((GrassInstanceBatches != null) && (GrassInstanceBatches.Length > 0))
{
contentFlags = SetBit(contentFlags, 10); //64
}
bool change = false; bool change = false;