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:
@ -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);
|
||||
|
Reference in New Issue
Block a user