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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user