mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
- bugfixing:
-- fixed #942 and #898 -- removed dublicated code in dwelling loading, #900 is fixed -- fixed roads rendering for #895
This commit is contained in:
@ -155,11 +155,6 @@ static void readBankLevel(const JsonNode &level, BankConfig &bc)
|
||||
void CObjectHandler::loadObjects()
|
||||
{
|
||||
tlog5 << "\t\tReading cregens \n";
|
||||
cregens.resize(110); //TODO: hardcoded value - change
|
||||
for(size_t i=0; i < cregens.size(); ++i)
|
||||
{
|
||||
cregens[i]=-1;
|
||||
}
|
||||
|
||||
const JsonNode config(GameConstants::DATA_DIR + "/config/dwellings.json");
|
||||
BOOST_FOREACH(const JsonNode &dwelling, config["dwellings"].Vector())
|
||||
|
Reference in New Issue
Block a user