mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-15 06:45:55 +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,
|
||||
// it has "red", "lightblue", "cave", "reef", "fungus", etc.
|
||||
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()) {
|
||||
col = color_t(0,0,0,0);
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue
Block a user