mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-21 19:20:24 +00:00
Make Ubuntu happier
This commit is contained in:
parent
3cbe0dcdcc
commit
cc4932ea46
@ -186,7 +186,7 @@ surface getMinimap(int w, int h, const gamemap &map, const team *vw, const std::
|
|||||||
// Despite its name, game_config::team_rgb_range isn't just team colors,
|
// Despite its name, game_config::team_rgb_range isn't just team colors,
|
||||||
// it has "red", "lightblue", "cave", "reef", "fungus", etc.
|
// it has "red", "lightblue", "cave", "reef", "fungus", etc.
|
||||||
color_t col;
|
color_t col;
|
||||||
std::map<std::string, color_range>::const_iterator it = game_config::team_rgb_range.find(terrain_info.id());
|
auto it = game_config::team_rgb_range.find(terrain_info.id());
|
||||||
if (it == game_config::team_rgb_range.end()) {
|
if (it == game_config::team_rgb_range.end()) {
|
||||||
col = color_t(0,0,0,0);
|
col = color_t(0,0,0,0);
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user