mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Fix typo in assertion
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