dwarfmonitor: Get rid of "Clear" weather indicator

develop
lethosor 2015-06-10 23:05:33 -04:00
parent d663784707
commit eabcee38e5
1 changed files with 3 additions and 10 deletions

@ -1755,8 +1755,7 @@ struct dwarf_monitor_hook : public df::viewscreen_dwarfmodest
x = 1;
y = gps->dimy - 1;
bool clear = false,
rain = false,
bool rain = false,
snow = false;
if (current_weather)
{
@ -1767,24 +1766,18 @@ struct dwarf_monitor_hook : public df::viewscreen_dwarfmodest
{
switch ((*current_weather)[i][j])
{
case weather_type::None:
clear = true;
break;
case weather_type::Rain:
rain = true;
break;
case weather_type::Snow:
snow = true;
break;
default:
break;
}
}
}
}
if (clear && (rain || snow))
{
OutputString(COLOR_YELLOW, x, y, "Clear");
++x;
}
if (rain)
{
OutputString(COLOR_LIGHTBLUE, x, y, "Rain");