From 80bf36e1a86b0ed415889406e27a8c3bd79a2d11 Mon Sep 17 00:00:00 2001 From: DeadlySurprise Date: Sat, 7 Oct 2017 16:28:47 +0200 Subject: [PATCH] Deprecate Actor.IsDisabled --- OpenRA.Game/Actor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Game/Actor.cs b/OpenRA.Game/Actor.cs index 1192346848..0fcca228cd 100644 --- a/OpenRA.Game/Actor.cs +++ b/OpenRA.Game/Actor.cs @@ -329,6 +329,9 @@ namespace OpenRA health.Kill(this, attacker); } + /// + /// DEPRECATED! See . Use conditional traits and IsTraitDisabled instead. + /// public bool IsDisabled() { // PERF: Avoid LINQ.