1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Many fixes around bonus system. Some basic propagation mechanism (not clever but works).

This commit is contained in:
Michał W. Urbańczyk
2011-02-21 04:13:00 +00:00
parent 519a4186de
commit 4c9edd3f06
14 changed files with 462 additions and 333 deletions

View File

@@ -3010,7 +3010,7 @@ PlayerState::PlayerState()
: color(-1), currentSelection(0xffffffff), enteredWinningCheatCode(0),
enteredLosingCheatCode(0), status(INGAME), daysWithoutCastle(0)
{
nodeType = PLAYER;
}
std::string PlayerState::nodeName() const
@@ -3129,3 +3129,8 @@ DuelParameters::DuelParameters()
terType = TerrainTile::dirt;
bfieldType = 15;
}
TeamState::TeamState()
{
nodeType = TEAM;
}