mail[Wesnoth-commits] r33765 - in /trunk: changelog src/playmp_controller.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by joerg . hinrichs on March 17, 2009 - 19:20:
Author: jhinrichs
Date: Tue Mar 17 19:20:13 2009
New Revision: 33765

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33765&view=rev
Log:
Fixes bug #13198 (corrupt replay in hotseat MP). It was caused by revision 
31665 and probably fixes the first remaining issue of that ("[end_turn] 
currently breaks replays"), since it removes double recording of [end_turn] 
if the time limit is hit.

Modified:
    trunk/changelog
    trunk/src/playmp_controller.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=33765&r1=33764&r2=33765&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Tue Mar 17 19:20:13 2009
@@ -7,6 +7,7 @@
    * Increase the map size limit to 1000 by 1000
  * Miscellaneous and bug fixes:
    * Fixed bug #13204: NR: Death event doesn't re-spawn Malifor as expected
+   * Fixed bug #13198: Corrupt replay in MP
 
 Version 1.5.14:
  * Campaigns:

Modified: trunk/src/playmp_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playmp_controller.cpp?rev=33765&r1=33764&r2=33765&view=diff
==============================================================================
--- trunk/src/playmp_controller.cpp (original)
+++ trunk/src/playmp_controller.cpp Tue Mar 17 19:20:13 2009
@@ -274,8 +274,6 @@
                                        secs = (secs > maxtime) ? maxtime : 
secs;
                                        
current_team().set_countdown_time(1000 * secs);
                                }
-                               
recorder.add_countdown_update(current_team().countdown_time(),player_number_);
-                               recorder.end_turn();
                                turn_data_->send_data();
 
                                throw end_turn_exception();




Related Messages


Powered by MHonArc, Updated Tue Mar 17 20:20:42 2009