1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

Extract fps counter drawing

This commit is contained in:
AlexVinS
2015-06-22 23:57:34 +03:00
parent f58148cd94
commit 32c15a8266
3 changed files with 3 additions and 6 deletions

View File

@ -537,9 +537,6 @@ void CGPreGame::update()
// /FIXME: find out why GH.listInt is empty to begin with
if (GH.topInt() != nullptr)
GH.topInt()->show(screen);
if (settings["general"]["showfps"].Bool())
GH.drawFPSCounter();
}
void CGPreGame::openCampaignScreen(std::string name)