|
@@ -532,18 +532,10 @@ void CGPreGame::update()
|
|
|
// check for null othervice crash on finishing a campaign
|
|
|
// /FIXME: find out why GH.listInt is empty to begin with
|
|
|
if (GH.topInt() != nullptr)
|
|
|
-#ifdef VCMI_SDL1
|
|
|
GH.topInt()->show(screen);
|
|
|
-#else
|
|
|
-//FIXME: find better solution for TTF fonts under cursor glitches
|
|
|
- GH.topInt()->showAll(screen);
|
|
|
-#endif
|
|
|
|
|
|
if (settings["general"]["showfps"].Bool())
|
|
|
GH.drawFPSCounter();
|
|
|
-
|
|
|
- // draw the mouse cursor and update the screen
|
|
|
- CCS->curh->render();
|
|
|
}
|
|
|
|
|
|
void CGPreGame::openCampaignScreen(std::string name)
|