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

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

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


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src playturn.cpp
Date: Sun, 19 Jun 2005 09:04:37 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/06/19 13:04:37

Modified files:
        src            : playturn.cpp 

Log message:
        fixed off-by-one error in unit list

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

Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.381 wesnoth/src/playturn.cpp:1.382
--- wesnoth/src/playturn.cpp:1.381      Sat Jun  4 23:21:06 2005
+++ wesnoth/src/playturn.cpp    Sun Jun 19 13:04:37 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.381 2005/06/04 23:21:06 Sirp Exp $ */
+/* $Id: playturn.cpp,v 1.382 2005/06/19 13:04:37 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -2259,12 +2259,6 @@
 
                items.push_back(row.str());
 
-               //extra unit for the first row to make up the heading
-               if(units_list.empty()) {
-                       locations_list.push_back(i->first);
-                       units_list.push_back(i->second);
-               }
-
                locations_list.push_back(i->first);
                units_list.push_back(i->second);
        }




reply via email to

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