mail[Wesnoth-commits] r33824 - /trunk/src/playmp_controller.cpp


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

Header


Content

Posted by shadowm2006 on March 18, 2009 - 14:48:
Author: shadowmaster
Date: Wed Mar 18 14:48:38 2009
New Revision: 33824

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33824&view=rev
Log:
Forgot one instance of the same issue that r33823 fixes.

Modified:
    trunk/src/playmp_controller.cpp

Modified: trunk/src/playmp_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playmp_controller.cpp?rev=33824&r1=33823&r2=33824&view=diff
==============================================================================
--- trunk/src/playmp_controller.cpp (original)
+++ trunk/src/playmp_controller.cpp Wed Mar 18 14:48:38 2009
@@ -243,7 +243,7 @@
                        throw e;
                }
 
-               if (!linger_ && (current_team().countdown_time() > 0) && 
(level_["mp_countdown"] == "yes")) {
+               if (!linger_ && (current_team().countdown_time() > 0) && 
utils::string_bool(level_["mp_countdown"])) {
                        SDL_Delay(1);
                        const int ticks = SDL_GetTicks();
                        int new_time = 
current_team().countdown_time()-std::max<int>(1,(ticks - cur_ticks));




Related Messages


Powered by MHonArc, Updated Wed Mar 18 15:00:19 2009