make Health.MaxHP not readonly; some people want to frob it at runtime

This commit is contained in:
Chris Forbes
2012-05-17 10:04:06 +12:00
parent 881b4ba277
commit bc7aa9a491

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Traits
}
public int HP { get { return hp; } }
public readonly int MaxHP;
public int MaxHP;
public bool IsDead { get { return hp <= 0; } }
public bool RemoveOnDeath = true;