ApplyToAllPlayers applies to inactive players; Apply should, too
This commit is contained in:
@@ -560,9 +560,6 @@ void GameCommand::ApplyToAllPlayers() const
|
|||||||
|
|
||||||
void GameCommand::Apply( PlayerNumber pn ) const
|
void GameCommand::Apply( PlayerNumber pn ) const
|
||||||
{
|
{
|
||||||
if( !GAMESTATE->IsHumanPlayer(pn) )
|
|
||||||
return;
|
|
||||||
|
|
||||||
vector<PlayerNumber> vpns;
|
vector<PlayerNumber> vpns;
|
||||||
vpns.push_back( pn );
|
vpns.push_back( pn );
|
||||||
Apply( vpns );
|
Apply( vpns );
|
||||||
|
|||||||
Reference in New Issue
Block a user