1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Fix: Crash on startup when mod dependency is not found

This commit is contained in:
Dmitry Orlov
2022-03-21 01:33:04 +03:00
committed by Andrii Danylchenko
parent 4defbc314a
commit d98f240164
3 changed files with 28 additions and 16 deletions

View File

@@ -266,7 +266,7 @@ public:
void loadMods(bool onlyEssential = false);
void loadModFilesystems();
CModInfo & getModData(TModID modId);
std::set<TModID> getModDependencies(TModID modId, bool & isModFound);
/// returns list of all (active) mods
std::vector<std::string> getAllMods();