#398 c4 vs friendly buildings goes through the motions, but does nothing

This commit is contained in:
Chris Forbes
2010-12-06 20:46:44 +13:00
parent 220579ff85
commit 664692cef9

View File

@@ -25,7 +25,6 @@ namespace OpenRA.Mods.RA.Activities
{
if (IsCanceled) return NextActivity;
if (target == null || !target.IsInWorld || target.IsDead()) return NextActivity;
if (target.Owner == self.Owner) return NextActivity;
if( !target.Trait<IOccupySpace>().OccupiedCells().Any( x => x == self.Location ) )
return NextActivity;