1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Slight simplification of bonus system node class

This commit is contained in:
Ivan Savenko
2024-01-01 00:44:09 +02:00
parent d5c4478816
commit 2c4cad7d9c
11 changed files with 30 additions and 91 deletions

View File

@@ -1928,14 +1928,6 @@ TeamState::TeamState()
fogOfWarMap = std::make_unique<boost::multi_array<ui8, 3>>();
}
TeamState::TeamState(TeamState && other) noexcept:
CBonusSystemNode(std::move(other)),
id(other.id)
{
std::swap(players, other.players);
std::swap(fogOfWarMap, other.fogOfWarMap);
}
CRandomGenerator & CGameState::getRandomGenerator()
{
return rand;