mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-05 13:04:54 +02:00
Do not attempt to display multiple assembly dialogs at once
This commit is contained in:
parent
90b669f507
commit
b1082aa621
@ -2273,6 +2273,8 @@ void CPlayerInterface::artifactRemoved(const ArtifactLocation &al)
|
|||||||
if (artWin)
|
if (artWin)
|
||||||
artWin->artifactRemoved(al);
|
artWin->artifactRemoved(al);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
waitWhileDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPlayerInterface::artifactMoved(const ArtifactLocation &src, const ArtifactLocation &dst)
|
void CPlayerInterface::artifactMoved(const ArtifactLocation &src, const ArtifactLocation &dst)
|
||||||
@ -2287,6 +2289,8 @@ void CPlayerInterface::artifactMoved(const ArtifactLocation &src, const Artifact
|
|||||||
}
|
}
|
||||||
if(!GH.objsToBlit.empty())
|
if(!GH.objsToBlit.empty())
|
||||||
GH.objsToBlit.back()->redraw();
|
GH.objsToBlit.back()->redraw();
|
||||||
|
|
||||||
|
waitWhileDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPlayerInterface::artifactPossibleAssembling(const ArtifactLocation & dst)
|
void CPlayerInterface::artifactPossibleAssembling(const ArtifactLocation & dst)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user