Explorar o código

Restored sound notifications

Ivan Savenko hai 1 ano
pai
achega
d8c69d39d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/adventureMap/TurnTimerWidget.h

+ 1 - 1
client/adventureMap/TurnTimerWidget.h

@@ -28,7 +28,7 @@ class TurnTimerWidget : public CIntObject
 	int lastSoundCheckSeconds;
 	bool isBattleMode;
 
-	std::set<int> notificationThresholds;
+	const std::set<int> notificationThresholds = {0, 1, 2, 3, 4, 5, 10, 20, 30};
 
 	std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsMain;
 	std::map<PlayerColor, std::shared_ptr<CLabel>> playerLabelsBattle;