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

Fixed bug #722. GuiBase::Run is now mostly in its old state. (before rev 2062) One disadvantage is now that the FPS Counter doesn't work in battle.

This commit is contained in:
beegee1
2011-04-13 19:52:56 +00:00
parent 3c5a0fd4ce
commit d6bd8514e7
3 changed files with 24 additions and 19 deletions

View File

@ -351,7 +351,17 @@ void CGPreGame::update()
if(SEL)
SEL->update();
// draw the mouse cursor and update the screen
// todo: bad way of updating the cursor, update screen should be the last statement of the rendering process
CCS->curh->draw1();
CSDL_Ext::update(screen);
CCS->curh->draw2();
GH.topInt()->show(screen);
// Handles mouse and key input
GH.updateTime();
GH.handleEvents();
}
CSelectionScreen::CSelectionScreen(CMenuScreen::EState Type, CMenuScreen::EMultiMode MultiPlayer /*= CMenuScreen::SINGLE_PLAYER*/, const std::map<ui32, std::string> *Names /*= NULL*/)