mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Save & restore mana
This commit is contained in:
@ -911,7 +911,7 @@ void CPlayerInterface::battleEnd(const BattleResult *br, QueryID queryID)
|
||||
{
|
||||
bool replay = allowBattleReplay && !settings["adventure"]["alwaysSkipCombat"].Bool(); //do not allow manual replay
|
||||
allowBattleReplay = false;
|
||||
auto wnd = std::make_shared<CBattleResultWindow>(*br, *this, replay);
|
||||
auto wnd = std::make_shared<BattleResultWindow>(*br, *this, replay);
|
||||
wnd->resultCallback = [=](ui32 selection)
|
||||
{
|
||||
cb->selectionMade(selection, queryID);
|
||||
|
Reference in New Issue
Block a user