[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src map.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src map.cpp |
Date: |
Sun, 20 Mar 2005 17:07:14 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 05/03/20 22:07:14
Modified files:
src : map.cpp
Log message:
fixed VC++ compile error
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/map.cpp.diff?tr1=1.56&tr2=1.57&r1=text&r2=text
Patches:
Index: wesnoth/src/map.cpp
diff -u wesnoth/src/map.cpp:1.56 wesnoth/src/map.cpp:1.57
--- wesnoth/src/map.cpp:1.56 Sat Mar 19 21:04:46 2005
+++ wesnoth/src/map.cpp Sun Mar 20 22:07:14 2005
@@ -1,4 +1,4 @@
-/* $Id: map.cpp,v 1.56 2005/03/19 21:04:46 gruikya Exp $ */
+/* $Id: map.cpp,v 1.57 2005/03/20 22:07:14 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -477,8 +477,8 @@
location adj[6];
get_adjacent_tiles(loc,adj);
- for(int i = 0; i < 6; ++i)
- remove_from_border_cache(adj[i]);
+ for(int n = 0; n < 6; ++n)
+ remove_from_border_cache(adj[n]);
}
std::vector<gamemap::location> parse_location_range(const std::string& x,
const std::string& y)