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

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

[Wesnoth-cvs-commits] wesnoth ./changelog src/editor/editor.cpp


From: ott
Subject: [Wesnoth-cvs-commits] wesnoth ./changelog src/editor/editor.cpp
Date: Fri, 29 Apr 2005 15:28:08 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <address@hidden>    05/04/29 19:28:07

Modified files:
        .              : changelog 
        src/editor     : editor.cpp 

Log message:
        Starting position in editor now starts at player 1 (fixes bug #10625).

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/changelog.diff?tr1=1.629&tr2=1.630&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/editor/editor.cpp.diff?tr1=1.102&tr2=1.103&r1=text&r2=text

Patches:
Index: wesnoth/changelog
diff -u wesnoth/changelog:1.629 wesnoth/changelog:1.630
--- wesnoth/changelog:1.629     Fri Apr 29 11:43:17 2005
+++ wesnoth/changelog   Fri Apr 29 19:28:07 2005
@@ -1,5 +1,6 @@
 CVS HEAD:
  * user interface improvements:
+   * starting position in editor now starts at player 1 (#10625)
    * fixed female units not appearing in help (broken since 0.9.0)
    * reduced required width of weapon area in help
    * better diagnostics on parsing: line numbers
Index: wesnoth/src/editor/editor.cpp
diff -u wesnoth/src/editor/editor.cpp:1.102 wesnoth/src/editor/editor.cpp:1.103
--- wesnoth/src/editor/editor.cpp:1.102 Sun Mar 27 23:06:17 2005
+++ wesnoth/src/editor/editor.cpp       Fri Apr 29 19:28:07 2005
@@ -326,7 +326,7 @@
 
 void map_editor::perform_set_starting_pos() {
        std::vector<std::string> players;
-       for (int i = 0; i < num_players; i++) {
+       for (int i = 1; i < num_players; i++) {
                std::stringstream str;
                str << "Player " << i;
                players.push_back(str.str());




reply via email to

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