mail[Wesnoth-commits] r13779 - /branches/1.2/src/multiplayer_wait.cpp


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

Header


Content

Posted by DannyDaemonic on October 03, 2006 - 04:38:
Author: dirus
Date: Tue Oct  3 04:37:46 2006
New Revision: 13779

URL: http://svn.gna.org/viewcvs/wesnoth?rev=13779&view=rev
Log:
Test for save games the proper way.

Modified:
    branches/1.2/src/multiplayer_wait.cpp

Modified: branches/1.2/src/multiplayer_wait.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.2/src/multiplayer_wait.cpp?rev=13779&r1=13778&r2=13779&view=diff
==============================================================================
--- branches/1.2/src/multiplayer_wait.cpp (original)
+++ branches/1.2/src/multiplayer_wait.cpp Tue Oct  3 04:37:46 2006
@@ -414,7 +414,7 @@
                        str << _("(") << leader_name << _(")");
                str << COLUMN_SEPARATOR;
                // Don't show gold for saved games
-               if(sd["save_id"].empty())
+               if(sd["allow_changes"] == "yes")
                        str << sd["gold"] << ' ' << sgettext("unit^Gold") << 
COLUMN_SEPARATOR;
 
                int income_amt = lexical_cast_default<int>(sd["income"], 0);




Related Messages


Powered by MHonArc, Updated Tue Oct 03 04:40:09 2006