Take ownership into account when determining crushability. Fixes the important half of #951 (tanks crushing your own walls).
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenRA.Traits
|
||||
public interface ICrushable
|
||||
{
|
||||
void OnCrush(Actor crusher);
|
||||
IEnumerable<string> CrushClasses { get; }
|
||||
bool CrushableBy(string[] crushClasses, Player owner);
|
||||
}
|
||||
|
||||
public struct Renderable
|
||||
|
||||
Reference in New Issue
Block a user