1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

- Fixed days without castle counter

- Fixed 'you have only 0 days...' message
- Checks victory/loss conditions every player turn instead of every day
- Fixed mantis #1463
This commit is contained in:
beegee1
2013-12-06 19:44:11 +00:00
parent 6427827b33
commit 2d095cf20a
8 changed files with 54 additions and 54 deletions

View File

@@ -176,7 +176,7 @@ public:
bool enteredWinningCheatCode, enteredLosingCheatCode; //if true, this player has entered cheat codes for loss / victory
EPlayerStatus::EStatus status;
ui8 daysWithoutCastle;
boost::optional<ui8> daysWithoutCastle;
PlayerState();
std::string nodeName() const override;