mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
- Improved json validation. Now it support most of features from latest json schema draft
- Set of schemas in config/schemas directory that are used to validate input from mods.
This commit is contained in:
@@ -2299,6 +2299,8 @@ int CGTownInstance::getBoatType() const
|
||||
case EAlignment::GOOD : return 1;
|
||||
case EAlignment::NEUTRAL : return 2;
|
||||
}
|
||||
assert(0);
|
||||
return -1;
|
||||
}
|
||||
|
||||
int CGTownInstance::getMarketEfficiency() const
|
||||
|
||||
Reference in New Issue
Block a user