[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/editor editor_palettes.cpp
From: |
Philippe Plantier |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/editor editor_palettes.cpp |
Date: |
Wed, 20 Oct 2004 15:19:07 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <address@hidden> 04/10/20 19:11:31
Modified files:
src/editor : editor_palettes.cpp
Log message:
Fixed editor not building
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/editor/editor_palettes.cpp.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
Patches:
Index: wesnoth/src/editor/editor_palettes.cpp
diff -u wesnoth/src/editor/editor_palettes.cpp:1.18
wesnoth/src/editor/editor_palettes.cpp:1.19
--- wesnoth/src/editor/editor_palettes.cpp:1.18 Tue Oct 19 20:49:09 2004
+++ wesnoth/src/editor/editor_palettes.cpp Wed Oct 20 19:11:30 2004
@@ -150,7 +150,7 @@
std::string terrain_palette::get_terrain_string(const gamemap::TERRAIN t) {
std::stringstream str;
- const std::string& name = map_.get_terrain_info(t).prout();
+ const std::string& name = map_.get_terrain_info(t).name();
const std::string& underlying = map_.underlying_terrain(t);
str << translate_string(name);
if(underlying.size() != 1 || underlying[0] != t) {
@@ -158,7 +158,7 @@
for(std::string::const_iterator i = underlying.begin();
i != underlying.end(); ++i) {
- str << map_.get_terrain_info(*i).prout();
+ str << map_.get_terrain_info(*i).name();
if(i+1 != underlying.end()) {
str << ",";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src/editor editor_palettes.cpp,
Philippe Plantier <=