From ad72c80bab1ad3017209abaa6b2cf129ddf7e8e8 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 2 Mar 2011 20:56:46 +1300 Subject: [PATCH] actors without Health are not dead. --- OpenRA.Game/Traits/Health.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Traits/Health.cs b/OpenRA.Game/Traits/Health.cs index 18f27fb4da..f586960c58 100755 --- a/OpenRA.Game/Traits/Health.cs +++ b/OpenRA.Game/Traits/Health.cs @@ -141,7 +141,7 @@ namespace OpenRA.Traits if (self.Destroyed) return true; var health = self.TraitOrDefault(); - return (health == null) ? true : health.IsDead; + return (health == null) ? false : health.IsDead; } public static DamageState GetDamageState(this Actor self)