1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Removed unused variable

This commit is contained in:
Ivan Savenko 2022-12-30 01:35:16 +02:00
parent c6290c1a50
commit 396b7740c3
2 changed files with 1 additions and 5 deletions

View File

@ -482,8 +482,7 @@ void TemplatesDropBox::setTemplate(const CRmgTemplate * tmpl)
}
TeamAlignmentsWidget::TeamAlignmentsWidget(RandomMapTab & randomMapTab):
InterfaceObjectConfigurable(),
randomMapTab(randomMapTab)
InterfaceObjectConfigurable()
{
const JsonNode config(ResourceID("config/widgets/randomMapTeamsWidget.json"));
variables = config["variables"];

View File

@ -93,9 +93,6 @@ public:
TeamAlignmentsWidget(RandomMapTab & randomMapTab);
private:
RandomMapTab & randomMapTab;
std::shared_ptr<CFilledTexture> background;
std::shared_ptr<CLabelGroup> labels;
std::shared_ptr<CButton> buttonOk, buttonCancel;