mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Unicode conversion functions now require source encoding
This commit is contained in:
@ -943,8 +943,8 @@ std::vector<std::string> CModHandler::getModList(std::string path)
|
||||
|
||||
bool CModHandler::isScopeReserved(const TModID & scope)
|
||||
{
|
||||
static const std::array<TModID, 3> reservedScopes = {
|
||||
"core", "map", "game"
|
||||
static const std::array<TModID, 6> reservedScopes = {
|
||||
"core", "map", "game", "root", "saves", "config"
|
||||
};
|
||||
|
||||
return std::find(reservedScopes.begin(), reservedScopes.end(), scope) != reservedScopes.end();
|
||||
|
Reference in New Issue
Block a user