mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Integrated defaultMods into mod system
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "RoadHandler.h"
|
||||
#include "CModHandler.h"
|
||||
#include "CGeneralTextHandler.h"
|
||||
#include "GameSettings.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@ -50,8 +51,10 @@ const std::vector<std::string> & RoadTypeHandler::getTypeNames() const
|
||||
return typeNames;
|
||||
}
|
||||
|
||||
std::vector<JsonNode> RoadTypeHandler::loadLegacyData(size_t dataSize)
|
||||
std::vector<JsonNode> RoadTypeHandler::loadLegacyData()
|
||||
{
|
||||
size_t dataSize = VLC->settings()->getInteger(EGameSettings::TEXTS_ROAD);
|
||||
|
||||
objects.resize(dataSize);
|
||||
return {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user