瀏覽代碼

Restored sound notifications

Ivan Savenko 1 年之前
父節點
當前提交
d8c69d39d8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;