Fix bas use of implict "units/" prefix in some hardcoded image's url
This commit is contained in:
parent
383dcad77a
commit
5c63c02a36
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -497,7 +497,7 @@ private:
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue