the first turn starts again with the proper time of day

(bug 8637), thanks to fabi
This commit is contained in:
Mark de Wever 2007-03-13 17:33:22 +00:00
parent e168f3add5
commit 084185e6cd
3 changed files with 3 additions and 1 deletions

View file

@ -50,6 +50,7 @@ Version 1.3.1+svn:
* an friendly healer hill now stop poisoned unit to lose HP
* a unit that dies while attacking will now correctly play it's own death
* turn bell can sound if other soundFX are turned off
* the first turn starts again with the proper time of day (bug 8637)
Version 1.3.1:
* Campaignd

View file

@ -31,6 +31,7 @@ Version 1.3.1+svn:
the death sound of the killed unit.
* Fixed a bug that prevented dead units from fading out at the end of their
death animation
* The first turns starts with the proper time of day again.
Version 1.3.1:
* Campaigns

View file

@ -355,7 +355,7 @@ void gamestatus::set_start_ToD(config &level, game_state* s_o_g)
{
// We have to set right ToD for oldsaves
set_time_of_day(turn() % times_.size());
set_time_of_day((turn() - 1) % times_.size());
}
// Setting tod to level data