1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +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

@ -1582,9 +1582,7 @@ void CPlayerInterface::update()
GH.drawFPSCounter();
// draw the mouse cursor and update the screen
CCS->curh->drawWithScreenRestore();
CSDL_Ext::update(screen);
CCS->curh->drawRestored();
CCS->curh->render();
}
int CPlayerInterface::getLastIndex( std::string namePrefix)