From 6cbebeebd594036feff2c17f2fa52ff90ef6a763 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 24 May 2010 20:52:15 +1200 Subject: [PATCH] 'fix' interior for now, with the hack documented this time --- OpenRA.Game/Graphics/SpriteSheetBuilder.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Graphics/SpriteSheetBuilder.cs b/OpenRA.Game/Graphics/SpriteSheetBuilder.cs index 9aa67809ce..9cc53b8b24 100644 --- a/OpenRA.Game/Graphics/SpriteSheetBuilder.cs +++ b/OpenRA.Game/Graphics/SpriteSheetBuilder.cs @@ -33,7 +33,8 @@ namespace OpenRA.Graphics public static void Initialize( Map map ) { - exts = new[] { "." + GetTheater(map).Suffix, ".shp" }; + /* .tem: hack to allow incomplete theaters (interior) to work, falling back to temperate for the missing art */ + exts = new[] { "." + GetTheater(map).Suffix, ".shp", ".tem" }; sprites = new Cache( LoadSprites ); }