From 14e2e3c2eb2cd2462195fe1083ea93f22d6c13e0 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 9 Nov 2009 21:36:10 +1300 Subject: [PATCH] nubstuff --- OpenRa.Game/Actor.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenRa.Game/Actor.cs b/OpenRa.Game/Actor.cs index bb935ea355..76085ea89b 100755 --- a/OpenRa.Game/Actor.cs +++ b/OpenRa.Game/Actor.cs @@ -94,9 +94,8 @@ namespace OpenRa.Game { /* todo: auto-retaliate, etc */ /* todo: death sequence for infantry based on inflictor */ - /* todo: start smoking if < conditionYellow and took damage, and not already smoking */ - if (Health <= 0) return; /* overkill! don't count extra hits as more kills! */ + if (IsDead) return; /* overkill! don't count extra hits as more kills! */ Health -= damage; if (Health <= 0)