mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Merge pull request #4770 from IvanSavenko/prison_fix
Fix for loading hero types / identities
This commit is contained in:
@ -347,7 +347,7 @@ void PlayerLocalState::deserialize(const JsonNode & source)
|
||||
{
|
||||
// this method must be called after player state has been initialized
|
||||
assert(currentSelection != nullptr);
|
||||
assert(!ownedTowns.empty() || wanderingHeroes.empty());
|
||||
assert(!ownedTowns.empty() || !wanderingHeroes.empty());
|
||||
|
||||
auto oldHeroes = wanderingHeroes;
|
||||
auto oldTowns = ownedTowns;
|
||||
|
Reference in New Issue
Block a user