mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix typo in assertion
This commit is contained in:
parent
31095248ab
commit
184d8de82e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user