Don't import veinholedummy and correct it's index

as it is a Westwood hack we don't need to immitate.
There are already better ways to limit vein growth.
This commit is contained in:
Matthias Mailänder
2017-09-16 22:10:24 +02:00
committed by reaperrr
parent 48a018d994
commit 44cfa793df

View File

@@ -115,7 +115,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
{ 0xAF, "trock03" },
{ 0xB0, "trock04" },
{ 0xB1, "trock05" },
{ 0xBB, "veinholedummy" },
{ 0xB2, null }, // veinholedummy
{ 0xBC, "crate" }
};
@@ -389,6 +389,9 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
string actorType;
if (OverlayToActor.TryGetValue(overlayType, out actorType))
{
if (string.IsNullOrEmpty(actorType))
continue;
var shape = new Size(1, 1);
if (OverlayShapes.TryGetValue(overlayType, out shape))
{