Fix StyleCop warnings in OpenRA.Mods.RA
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.RA.Traits
|
||||
bool isProne { get { return remainingProneTime > 0; } }
|
||||
|
||||
public bool IsModifyingSequence { get { return isProne; } }
|
||||
public string SequencePrefix { get { return info.ProneSequencePrefix ; } }
|
||||
public string SequencePrefix { get { return info.ProneSequencePrefix; } }
|
||||
|
||||
public TakeCover(ActorInitializer init, TakeCoverInfo info)
|
||||
: base(init, info)
|
||||
@@ -46,7 +46,8 @@ namespace OpenRA.Mods.RA.Traits
|
||||
|
||||
public void Damaged(Actor self, AttackInfo e)
|
||||
{
|
||||
if (e.Damage > 0 && (e.Warhead == null || !e.Warhead.PreventProne)) /* Don't go prone when healed */
|
||||
/* Don't go prone when healed */
|
||||
if (e.Damage > 0 && (e.Warhead == null || !e.Warhead.PreventProne))
|
||||
{
|
||||
if (!isProne)
|
||||
localOffset = info.ProneOffset;
|
||||
|
||||
Reference in New Issue
Block a user