mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Merge remote-tracking branch 'vcmi/beta' into develop
This commit is contained in:
@ -638,7 +638,9 @@ void BattleResultWindow::show(Canvas & to)
|
||||
|
||||
void BattleResultWindow::buttonPressed(int button)
|
||||
{
|
||||
resultCallback(button);
|
||||
if (resultCallback)
|
||||
resultCallback(button);
|
||||
|
||||
CPlayerInterface &intTmp = owner; //copy reference because "this" will be destructed soon
|
||||
|
||||
close();
|
||||
|
Reference in New Issue
Block a user