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:
committed by
reaperrr
parent
48a018d994
commit
44cfa793df
@@ -115,7 +115,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
|||||||
{ 0xAF, "trock03" },
|
{ 0xAF, "trock03" },
|
||||||
{ 0xB0, "trock04" },
|
{ 0xB0, "trock04" },
|
||||||
{ 0xB1, "trock05" },
|
{ 0xB1, "trock05" },
|
||||||
{ 0xBB, "veinholedummy" },
|
{ 0xB2, null }, // veinholedummy
|
||||||
{ 0xBC, "crate" }
|
{ 0xBC, "crate" }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -389,6 +389,9 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
|||||||
string actorType;
|
string actorType;
|
||||||
if (OverlayToActor.TryGetValue(overlayType, out actorType))
|
if (OverlayToActor.TryGetValue(overlayType, out actorType))
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(actorType))
|
||||||
|
continue;
|
||||||
|
|
||||||
var shape = new Size(1, 1);
|
var shape = new Size(1, 1);
|
||||||
if (OverlayShapes.TryGetValue(overlayType, out shape))
|
if (OverlayShapes.TryGetValue(overlayType, out shape))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user