Author: alink
Date: Tue Jul  8 00:33:15 2008
New Revision: 27832

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27832&view=rev
Log:
Fix bas use of implict "units/" prefix in some hardcoded image's url

Modified:
    trunk/src/leader_list.cpp
    trunk/src/menu_events.cpp

Modified: trunk/src/leader_list.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/leader_list.cpp?rev=27832&r1=27831&r2=27832&view=diff
==============================================================================
--- trunk/src/leader_list.cpp (original)
+++ trunk/src/leader_list.cpp Tue Jul  8 00:33:15 2008
@@ -24,7 +24,7 @@
 #include "widgets/combo.hpp"
 #include "widgets/menu.hpp"
 
-const std::string 
leader_list_manager::random_enemy_picture("random-dice.png~RC(magenta>1)");
+const std::string 
leader_list_manager::random_enemy_picture("units/random-dice.png~RC(magenta>1)");
 
 leader_list_manager::leader_list_manager(const config::child_list& side_list,
                gui::combo* leader_combo , gui::combo* gender_combo):

Modified: trunk/src/menu_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=27832&r1=27831&r2=27832&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Tue Jul  8 00:33:15 2008
@@ -497,7 +497,7 @@
                                        str << IMAGE_PREFIX << 
leader->second.absolute_image();
                                        leader_bools.push_back(true);
                                } else {
-                                       str << IMAGE_PREFIX << 
std::string("unknown-unit.png");
+                                       str << IMAGE_PREFIX << 
std::string("units/unknown-unit.png");
                                        leader_bools.push_back(false);
                                }
 #ifndef LOW_MEM


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to