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

centralize cursor drawing

This commit is contained in:
AlexVinS
2014-07-03 15:10:01 +04:00
parent 022f71c26e
commit e521e6687a
4 changed files with 19 additions and 13 deletions

View File

@ -543,9 +543,7 @@ void CGPreGame::update()
GH.drawFPSCounter();
// draw the mouse cursor and update the screen
CCS->curh->drawWithScreenRestore();
CSDL_Ext::update(screen);
CCS->curh->drawRestored();
CCS->curh->render();
}
void CGPreGame::openCampaignScreen(std::string name)