medic can't overheal anymore

This commit is contained in:
Chris Forbes
2009-12-28 11:36:51 +13:00
parent d7251e4703
commit 73864861e5

View File

@@ -149,6 +149,8 @@ namespace OpenRa.Game
Game.world.AddFrameEndTask(w => w.Remove(this));
}
if (Health > Info.Strength)
Health = Info.Strength;
var newState = GetDamageState();