diff --git a/src/gui/weather.cpp b/src/gui/weather.cpp index 336a6ba58..f7fc2ba99 100644 --- a/src/gui/weather.cpp +++ b/src/gui/weather.cpp @@ -208,6 +208,9 @@ void CWeather::show(int x, int y) void CWeather::hide() { + if (!form) + return; + if (form->isPainted()) { form->hide();