mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
* PreGame interface gets now redrawn every frame.
* Changed PreGame event handling and update/draw order. * Changed mouse cursor drawing in PreGame * Fixed linux bug where main menu WOG animation gets played only once, windows/linux video handling is now more similar * Minor code improvements
This commit is contained in:
@@ -1337,6 +1337,9 @@ void CPlayerInterface::update()
|
||||
else
|
||||
GH.simpleRedraw();
|
||||
|
||||
if (conf.cc.showFPS)
|
||||
GH.drawFPSCounter();
|
||||
|
||||
// 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();
|
||||
|
||||
Reference in New Issue
Block a user