mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Be more robust to broken terrain property files.
This was SVN commit r8888.
This commit is contained in:
@@ -33,6 +33,8 @@ CTerrainTextureEntry::CTerrainTextureEntry(CTerrainPropertiesPtr props, const Vf
|
||||
m_BaseColor(0),
|
||||
m_BaseColorValid(false)
|
||||
{
|
||||
debug_assert(props);
|
||||
|
||||
CTextureProperties texture(path);
|
||||
texture.SetWrap(GL_REPEAT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user