Преглед изворни кода

Fix incorrect missing video files diagnostics on polish version

Ivan Savenko пре 10 месеци
родитељ
комит
9144f98952
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      launcher/startGame/StartGameTab.cpp

+ 1 - 1
launcher/startGame/StartGameTab.cpp

@@ -102,7 +102,7 @@ void StartGameTab::refreshGameData()
 	};
 	};
 
 
 	bool missingSoundtrack = !CResourceHandler::get()->existsResource(AudioPath::builtin("Music/MainMenu"));
 	bool missingSoundtrack = !CResourceHandler::get()->existsResource(AudioPath::builtin("Music/MainMenu"));
-	bool missingVideoFiles = !CResourceHandler::get()->existsResource(VideoPath::builtin("Video/H3Intro"));
+	bool missingVideoFiles = !CResourceHandler::get()->existsResource(VideoPath::builtin("Video/H3Intro")) && !CResourceHandler::get()->existsResource(ResourcePath("Video/H3Intro", EResType::VIDEO_LOW_QUALITY));
 	bool missingGameFiles = false;
 	bool missingGameFiles = false;
 	bool missingCampaings = false;
 	bool missingCampaings = false;