mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
tiny fixes
This commit is contained in:
@@ -1601,7 +1601,7 @@ bool CPlayerInterface::ctrlPressed() const
|
||||
void CPlayerInterface::update()
|
||||
{
|
||||
// Updating GUI requires locking pim mutex (that protects screen and GUI state).
|
||||
// When ending the game, the pim mutex might be hold bo other thread,
|
||||
// When ending the game, the pim mutex might be hold by other thread,
|
||||
// that will notify us about the ending game by setting terminate_cond flag.
|
||||
|
||||
bool acquiredTheLockOnPim = false; //for tracking whether pim mutex locking succeeded
|
||||
|
@@ -182,7 +182,7 @@ void CGuiHandler::handleEvents()
|
||||
ev = events.front();
|
||||
events.pop();
|
||||
}
|
||||
handleEvent(&ev);
|
||||
this->handleEvent(&ev);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user