1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Remove no longer used DISPOSE flag from CIntObject

This commit is contained in:
Ivan Savenko
2024-08-09 15:50:37 +00:00
parent 4ff2894cf2
commit 220c5cb1d7
5 changed files with 2 additions and 12 deletions

View File

@@ -534,7 +534,6 @@ bool CGarrisonSlot::handleSplittingShortcuts()
void CGarrisonInt::addSplitBtn(std::shared_ptr<CButton> button)
{
addChild(button.get());
button->recActions &= ~DISPOSE;
splitButtons.push_back(button);
button->block(getSelection() == nullptr);
}