Make Ubuntu happier

This commit is contained in:
Charles Dang 2024-01-29 23:41:39 -05:00
parent 3cbe0dcdcc
commit cc4932ea46

View File

@ -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