mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
- merged basicCreatures and upgradedCreatures into single array
- missing fix for savegames
This commit is contained in:
@ -589,7 +589,7 @@ std::pair<int,int> CGameState::pickObject (CGObjectInstance *obj)
|
||||
dwl->info = nullptr;
|
||||
|
||||
std::pair<int,int> result(-1, -1);
|
||||
int cid = VLC->townh->towns[faction].basicCreatures[level];
|
||||
int cid = VLC->townh->towns[faction].creatures[level][0];
|
||||
|
||||
//golem factory is not in list of cregens but can be placed as random object
|
||||
static const int factoryCreatures[] = {32, 33, 116, 117};
|
||||
|
Reference in New Issue
Block a user