mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix build
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#include "../json/JsonNode.h"
|
||||
#include "../VCMI_Lib.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
JsonNode ModVerificationInfo::jsonSerializeList(const ModCompatibilityInfo & input)
|
||||
{
|
||||
JsonNode output;
|
||||
@ -90,6 +92,8 @@ ModListVerificationStatus ModVerificationInfo::verifyListAgainstLocalMods(const
|
||||
modAffectsGameplay |= VLC->modh->getModInfo(remoteModId).checkModGameplayAffecting();
|
||||
|
||||
assert(modAffectsGameplay); // such mods should not be in the list to begin with
|
||||
if (!modAffectsGameplay)
|
||||
continue; // skip it
|
||||
|
||||
if (!vstd::contains(VLC->modh->getActiveMods(), remoteModId))
|
||||
{
|
||||
@ -108,3 +112,5 @@ ModListVerificationStatus ModVerificationInfo::verifyListAgainstLocalMods(const
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user