Quellcode durchsuchen

Restored sound notifications

Ivan Savenko vor 1 Jahr
Ursprung
Commit
d8c69d39d8
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;