mail[Wesnoth-commits] r27022 - /trunk/src/game_events.cpp


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

Header


Content

Posted by koraq on June 07, 2008 - 10:03:
Author: mordante
Date: Sat Jun  7 10:03:25 2008
New Revision: 27022

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27022&view=rev
Log:
I got reminded I wanted to ditch [set_variable]random

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=27022&r1=27021&r2=27022&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sat Jun  7 10:03:25 2008
@@ -1106,10 +1106,8 @@
                if(random.empty() == false) {
                        // random is deprecated but will be available in the 
1.4 branch
                        // so enable the message after forking
-                       //! @todo Enable after branching and once rand works 
fully in MP
-                       //! including synchronizing.
-                       //lg::wml_error << "Usage of 'random' is deprecated 
use 'rand' instead, "
-                       //      "support will be removed in 1.5.2.\n";
+                       lg::wml_error << "Usage of 'random' is deprecated use 
'rand' instead, "
+                               "support will be removed in 1.5.3.\n";
                        std::string random_value;
                        // If we're not replaying, create a random number
                        if(get_replay_source().at_end()) {




Related Messages


Powered by MHonArc, Updated Sat Jun 07 14:01:32 2008