PlayerNumber(0) -> PLAYER_1

This commit is contained in:
Glenn Maynard
2006-01-15 08:15:27 +00:00
parent cfedf33602
commit 0ff2505831
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -790,7 +790,7 @@ int OptionRow::GetOneSelection( PlayerNumber pn, bool bAllowFail ) const
int OptionRow::GetOneSharedSelection( bool bAllowFail ) const
{
return GetOneSelection( (PlayerNumber)0, bAllowFail );
return GetOneSelection( PLAYER_1, bAllowFail );
}
void OptionRow::SetOneSelection( PlayerNumber pn, int iChoice )
@@ -832,7 +832,7 @@ int OptionRow::GetChoiceInRowWithFocus( PlayerNumber pn ) const
int OptionRow::GetChoiceInRowWithFocusShared() const
{
return GetChoiceInRowWithFocus( (PlayerNumber)0 );
return GetChoiceInRowWithFocus( PLAYER_1 );
}
void OptionRow::SetChoiceInRowWithFocus( PlayerNumber pn, int iChoice )