Rename Stance to PlayerRelationship
This commit is contained in:
@@ -38,9 +38,9 @@ namespace OpenRA.Traits
|
||||
|
||||
switch (viewer.Stances[a.Owner])
|
||||
{
|
||||
case Stance.Ally: return basePriority - PriorityRange;
|
||||
case Stance.Neutral: return basePriority - 2 * PriorityRange;
|
||||
case Stance.Enemy: return basePriority - 3 * PriorityRange;
|
||||
case PlayerRelationship.Ally: return basePriority - PriorityRange;
|
||||
case PlayerRelationship.Neutral: return basePriority - 2 * PriorityRange;
|
||||
case PlayerRelationship.Enemy: return basePriority - 3 * PriorityRange;
|
||||
|
||||
default:
|
||||
throw new InvalidOperationException();
|
||||
|
||||
Reference in New Issue
Block a user