mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Move buttons blocks at proper place
This commit is contained in:
@@ -427,9 +427,6 @@ void CBonusSelection::startMap()
|
|||||||
if(scenario.prolog.hasPrologEpilog)
|
if(scenario.prolog.hasPrologEpilog)
|
||||||
{
|
{
|
||||||
GH.pushIntT<CPrologEpilogVideo>(scenario.prolog, exitCb);
|
GH.pushIntT<CPrologEpilogVideo>(scenario.prolog, exitCb);
|
||||||
buttonStart->block(true);
|
|
||||||
buttonRestart->block(true);
|
|
||||||
buttonBack->block(true);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -437,6 +434,11 @@ void CBonusSelection::startMap()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//block buttons immediately
|
||||||
|
buttonStart->block(true);
|
||||||
|
buttonRestart->block(true);
|
||||||
|
buttonBack->block(true);
|
||||||
|
|
||||||
if(LOCPLINT) // we're currently ingame, so ask for starting new map and end game
|
if(LOCPLINT) // we're currently ingame, so ask for starting new map and end game
|
||||||
{
|
{
|
||||||
close();
|
close();
|
||||||
|
Reference in New Issue
Block a user