diff --git a/cockatrice/src/player.cpp b/cockatrice/src/player.cpp index 6d5c2c33..43a9db38 100644 --- a/cockatrice/src/player.cpp +++ b/cockatrice/src/player.cpp @@ -1940,7 +1940,7 @@ void Player::processGameEvent(GameEvent::GameEventType type, const GameEvent &ev } } -void Player::setActivePlayer(bool _active) +void Player::setActive(bool _active) { active = _active; table->setActive(active); diff --git a/cockatrice/src/player.h b/cockatrice/src/player.h index 0eac23f8..58ee8c2f 100644 --- a/cockatrice/src/player.h +++ b/cockatrice/src/player.h @@ -384,7 +384,7 @@ public: { return active; } - void setActivePlayer(bool _active); + void setActive(bool _active); void setShortcutsActive(); void setShortcutsInactive(); void updateZones();