mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
- split heroes.json in manner similar to creatures\factions
- string ID's for H3 heroes - data in vcmi configs for heroes will replace data in h3 txt's
This commit is contained in:
@ -536,7 +536,7 @@ std::pair<Obj,int> CGameState::pickObject (CGObjectInstance *obj)
|
||||
case Obj::RANDOM_TOWN:
|
||||
{
|
||||
PlayerColor align = PlayerColor((static_cast<CGTownInstance*>(obj))->alignment);
|
||||
ui32 f;
|
||||
si32 f; // can be negative (for random)
|
||||
if(align >= PlayerColor::PLAYER_LIMIT)//same as owner / random
|
||||
{
|
||||
if(obj->tempOwner >= PlayerColor::PLAYER_LIMIT)
|
||||
|
Reference in New Issue
Block a user