mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix rewards nullptr bug
This commit is contained in:
parent
cd28a0791b
commit
3de6569dab
@ -20,6 +20,7 @@ RewardsWidget::RewardsWidget(const CMap & m, CGPandoraBox & p, QWidget *parent)
|
||||
QDialog(parent),
|
||||
map(m),
|
||||
pandora(&p),
|
||||
seerhut(nullptr),
|
||||
ui(new Ui::RewardsWidget)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
@ -31,6 +32,7 @@ RewardsWidget::RewardsWidget(const CMap & m, CGPandoraBox & p, QWidget *parent)
|
||||
RewardsWidget::RewardsWidget(const CMap & m, CGSeerHut & p, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
map(m),
|
||||
pandora(nullptr),
|
||||
seerhut(&p),
|
||||
ui(new Ui::RewardsWidget)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user