Invert a conditional

Found by coverity.
This commit is contained in:
Alexander van Gessel 2018-03-22 16:48:15 +01:00
parent 812de972ac
commit 8179c7226b

View file

@ -402,7 +402,7 @@ void render_minimap(texture& tex, const gamemap& map, const team* vw, const std:
color_t col(0, 0, 0, 0);
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 = it->second.rep();
}