소스 검색

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;