mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Add workaround for strange/unknown hota h3m quirk
This commit is contained in:
@ -39,6 +39,7 @@ FactionID PlayerInfo::defaultCastle() const
|
||||
if(isFactionRandom)
|
||||
return FactionID::RANDOM;
|
||||
|
||||
assert(!allowedFactions.empty());
|
||||
if(!allowedFactions.empty())
|
||||
return *allowedFactions.begin();
|
||||
|
||||
|
Reference in New Issue
Block a user