|
@@ -165,15 +165,6 @@ std::string BoatInstanceConstructor::getBoatAnimationName() const
|
|
return actualAnimation;
|
|
return actualAnimation;
|
|
}
|
|
}
|
|
|
|
|
|
-void BoatInstanceConstructor::afterLoadFinalization()
|
|
|
|
-{
|
|
|
|
- if (layer == EPathfindingLayer::SAIL)
|
|
|
|
- {
|
|
|
|
- if (getTemplates(TerrainId(ETerrainId::WATER)).empty())
|
|
|
|
- logMod->warn("Boat of type %s has no templates suitable for water!", getJsonKey());
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void MarketInstanceConstructor::initTypeData(const JsonNode & input)
|
|
void MarketInstanceConstructor::initTypeData(const JsonNode & input)
|
|
{
|
|
{
|
|
for(auto & element : input["modes"].Vector())
|
|
for(auto & element : input["modes"].Vector())
|