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: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp
Date: Sun, 17 Oct 2004 14:40:47 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/10/17 18:33:29

Modified files:
        src            : multiplayer_connect.cpp 

Log message:
        Show the correct teams when loading a saved multiplayer game

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

Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.80 
wesnoth/src/multiplayer_connect.cpp:1.81
--- wesnoth/src/multiplayer_connect.cpp:1.80    Sat Oct 16 18:57:55 2004
+++ wesnoth/src/multiplayer_connect.cpp Sun Oct 17 18:33:28 2004
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.80 2004/10/16 18:57:55 silene Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.81 2004/10/17 18:33:28 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -538,13 +538,6 @@
                if (!save_) 
                        player_leaders_[n].set_leader(side["type"]);
 
-               //Player Team
-               const std::string& team_name = side["team_name"];
-               if(team_name != "" && isdigit(team_name[0]))
-                       combos_team_[n].set_selected(team_name[0] - '1');
-
-               //Player Color
-
                //Player Gold
                std::string str = side["gold"];
                sliders_gold_[n].set_value(atoi(str.c_str()));




reply via email to

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