1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Miscellaneous fixes to banks:

- fixed evaluation of bank thread by AI (1850)
- fixed crash on evaluating bank threat after loading from save (1830)
- fixed typo in bank config. TODO: schema?
This commit is contained in:
Ivan Savenko
2014-08-09 12:31:43 +03:00
parent f55d335e1c
commit 05d8fad314
4 changed files with 20 additions and 12 deletions

View File

@@ -202,6 +202,7 @@ namespace JsonRandom
for (auto creaID : crea->upgrades)
info.allowedCreatures.push_back(VLC->creh->creatures[creaID]);
}
ret.push_back(info);
}
return ret;
}