mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix freezes while turn ends at hero move
This commit is contained in:
@@ -171,6 +171,9 @@ void CPlayerInterface::playerStartsTurn(PlayerColor player)
|
|||||||
{
|
{
|
||||||
EVENT_HANDLER_CALLED_BY_CLIENT;
|
EVENT_HANDLER_CALLED_BY_CLIENT;
|
||||||
|
|
||||||
|
makingTurn = false;
|
||||||
|
stillMoveHero.setn(STOP_MOVE);
|
||||||
|
|
||||||
if(GH.windows().findWindows<AdventureMapInterface>().empty())
|
if(GH.windows().findWindows<AdventureMapInterface>().empty())
|
||||||
{
|
{
|
||||||
// after map load - remove all active windows and replace them with adventure map
|
// after map load - remove all active windows and replace them with adventure map
|
||||||
|
Reference in New Issue
Block a user