wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp
Date: Sun, 11 Sep 2005 22:20:29 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/09/12 02:20:28

Modified files:
        src            : multiplayer_connect.cpp 

Log message:
        small team_name fix

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_connect.cpp.diff?tr1=1.157&tr2=1.158&r1=text&r2=text

Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.157 
wesnoth/src/multiplayer_connect.cpp:1.158
--- wesnoth/src/multiplayer_connect.cpp:1.157   Sun Sep 11 21:29:14 2005
+++ wesnoth/src/multiplayer_connect.cpp Mon Sep 12 02:20:28 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.157 2005/09/11 21:29:14 j_daniel Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.158 2005/09/12 02:20:28 j_daniel Exp $ */
 /*
    Copyright (C)
    Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -862,7 +862,7 @@
                        std::vector<std::string>::const_iterator itor = 
std::find(team_names.begin(), team_names.end(), team_name);
                        if(itor == team_names.end()) {
                                team_names.push_back(team_name);
-                               team_name = side_num;
+                               team_name = 
lexical_cast<std::string>(team_names.size());
                        } else {
                                team_name = lexical_cast<std::string>(itor - 
team_names.begin() + 1);
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]