mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
TurnTimerHandler is now a unique_ptr
This commit is contained in:
@@ -30,12 +30,12 @@ bool TimerPauseQuery::blocksPack(const CPack *pack) const
|
||||
|
||||
void TimerPauseQuery::onAdding(PlayerColor color)
|
||||
{
|
||||
gh->turnTimerHandler.setTimerEnabled(color, false);
|
||||
gh->turnTimerHandler->setTimerEnabled(color, false);
|
||||
}
|
||||
|
||||
void TimerPauseQuery::onRemoval(PlayerColor color)
|
||||
{
|
||||
gh->turnTimerHandler.setTimerEnabled(color, true);
|
||||
gh->turnTimerHandler->setTimerEnabled(color, true);
|
||||
}
|
||||
|
||||
bool TimerPauseQuery::endsByPlayerAnswer() const
|
||||
|
||||
Reference in New Issue
Block a user