mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Remove largely unused defActions member from CIntObject
This commit is contained in:
@ -33,7 +33,6 @@ std::shared_ptr<CIntObject> CObjectList::createItem(size_t index)
|
||||
if(!item)
|
||||
item = std::make_shared<CIntObject>();
|
||||
|
||||
item->recActions = defActions;
|
||||
addChild(item.get());
|
||||
if (isActive())
|
||||
item->activate();
|
||||
@ -45,7 +44,6 @@ CTabbedInt::CTabbedInt(CreateFunc create, Point position, size_t ActiveID)
|
||||
activeTab(nullptr),
|
||||
activeID(ActiveID)
|
||||
{
|
||||
defActions &= ~DISPOSE;
|
||||
pos += position;
|
||||
reset();
|
||||
}
|
||||
|
Reference in New Issue
Block a user