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:
@@ -170,6 +170,9 @@ void CPlayerInterface::initGameInterface(std::shared_ptr<Environment> ENV, std::
|
|||||||
void CPlayerInterface::playerStartsTurn(PlayerColor player)
|
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())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user