This commit is contained in:
Chris Forbes
2010-03-27 09:35:47 +13:00
parent 95318f1af3
commit 2829b0229b

View File

@@ -134,12 +134,12 @@ namespace OpenRA.Traits
Templates[state].TerrainType[Tiles[p]]);
}
bool IsIntact(Bridge b)
static bool IsIntact(Bridge b)
{
return b != null && b.self.IsInWorld && b.self.Health > 0;
}
bool IsLong(Bridge b)
static bool IsLong(Bridge b)
{
return b != null && b.self.IsInWorld && b.self.Info.Traits.Get<BridgeInfo>().Long;
}