Explorar o código

Fix battle bonuses serialization

nordsoft %!s(int64=2) %!d(string=hai) anos
pai
achega
2a2f0a657e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/CPlayerState.cpp

+ 1 - 0
lib/CPlayerState.cpp

@@ -39,6 +39,7 @@ PlayerState::PlayerState(PlayerState && other) noexcept:
 	std::swap(towns, other.towns);
 	std::swap(dwellings, other.dwellings);
 	std::swap(quests, other.quests);
+	std::swap(battleBonuses, other.battleBonuses);
 }
 
 PlayerState::~PlayerState() = default;