1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

* minor fixes for screen scrolling

This commit is contained in:
mateuszb
2010-08-23 16:13:30 +00:00
parent 6b8718b046
commit 7cad2364fe
7 changed files with 41 additions and 14 deletions

View File

@ -66,6 +66,7 @@ using namespace boost::assign;
using namespace CSDL_Ext;
void processCommand(const std::string &message, CClient *&client);
void updateScreenLT(int maxW, int maxH);
extern std::queue<SDL_Event*> events;
extern boost::mutex eventsM;
@ -1331,6 +1332,8 @@ void CPlayerInterface::update()
CSDL_Ext::update(screen);
CGI->curh->draw2();
updateScreenLT(conf.cc.resx, conf.cc.resy);
pim->unlock();
SDL_framerateDelay(mainFPSmng);