1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Gernsworth's patch for bug #1118

This commit is contained in:
mateuszb
2012-12-30 18:29:15 +00:00
parent c0e09679f1
commit 2848fb6fef
3 changed files with 17 additions and 1 deletions

View File

@@ -1292,6 +1292,10 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CGPath path )
CCS->soundh->stopSound(sh);
}
//Update cursor so icon can change if needed when it reappears; doesn;'t apply if a dialog box pops up at the end of the movement
if(!showingDialog->get())
GH.fakeMouseMove();
//RAII unlocks
}