Author: ai0867
Date: Sat Jul 23 17:51:49 2011
New Revision: 50373
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50373&view=rev
Log:
Update the GUI when using [replace_schedule]
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=50373&r1=50372&r2=50373&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sat Jul 23 17:51:49 2011
@@ -2668,6 +2668,7 @@
ERR_NG << "attempted to to replace ToD schedule with empty
schedule\n";
} else {
resources::tod_manager->replace_schedule(cfg.get_parsed_config());
+ resources::screen->new_turn();
LOG_NG << "replaced ToD schedule\n";
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits