Author: jhinrichs
Date: Thu Apr 2 20:57:10 2009
New Revision: 34406
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34406&view=rev
Log:
hopefully correct fix now for the turn 1 income problem
Modified:
trunk/src/play_controller.cpp
Modified: trunk/src/play_controller.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/play_controller.cpp?rev=34406&r1=34405&r2=34406&view=diff
==============================================================================
--- trunk/src/play_controller.cpp (original)
+++ trunk/src/play_controller.cpp Thu Apr 2 20:57:10 2009
@@ -437,9 +437,8 @@
// and the player should get income now.
// Healing/income happen if it's not the first turn of processing,
// or if we are loading a game, and this is not the player it started
with.
- // FIXME: This does not work correct if loading a save of turn 1
(turn_refresh should be false but is true for every subsequent side)
const bool turn_refresh = ( (status_.turn() > start_turn_) ||
(loading_game_ && team_index != (first_player_ - 1)) )
- && (start_turn_
> 1);
+ &&
(status_.turn() > 1);
if(turn_refresh) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits