mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
removed unnecessary code
This commit is contained in:
parent
c5d685c780
commit
6a0cb32b7e
@ -423,8 +423,6 @@ void ContainerWindow::onTakeAllButtonClicked(MyGUI::Widget* _sender)
|
||||
|
||||
int i=0;
|
||||
for (MWWorld::ContainerStoreIterator iter (containerStore.begin()); iter!=containerStore.end(); ++iter)
|
||||
{
|
||||
if(iter->getRefData().getCount() > 0)
|
||||
{
|
||||
playerStore.add(*iter);
|
||||
|
||||
@ -437,7 +435,6 @@ void ContainerWindow::onTakeAllButtonClicked(MyGUI::Widget* _sender)
|
||||
|
||||
++i;
|
||||
}
|
||||
}
|
||||
|
||||
containerStore.clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user