Merge pull request #7714 from Mailaender/d2k-black-tile-removal

Removed legacy ARRAKIS tiles.
This commit is contained in:
Taryn Hill
2015-03-23 15:15:28 -05:00
2 changed files with 4 additions and 272 deletions

View File

@@ -246,7 +246,9 @@ namespace OpenRA
public byte GetTerrainIndex(TerrainTile r)
{
var tpl = Templates[r.Type];
TerrainTemplateInfo tpl;
if (!Templates.TryGetValue(r.Type, out tpl))
return defaultWalkableTerrainIndex;
if (tpl.Contains(r.Index))
{