1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-31 13:06:42 +00:00

removed unnecessary code

This commit is contained in:
scrawl 2012-05-16 14:30:02 +02:00
parent c5d685c780
commit 6a0cb32b7e

View file

@ -423,8 +423,6 @@ void ContainerWindow::onTakeAllButtonClicked(MyGUI::Widget* _sender)
int i=0; int i=0;
for (MWWorld::ContainerStoreIterator iter (containerStore.begin()); iter!=containerStore.end(); ++iter) for (MWWorld::ContainerStoreIterator iter (containerStore.begin()); iter!=containerStore.end(); ++iter)
{
if(iter->getRefData().getCount() > 0)
{ {
playerStore.add(*iter); playerStore.add(*iter);
@ -437,7 +435,6 @@ void ContainerWindow::onTakeAllButtonClicked(MyGUI::Widget* _sender)
++i; ++i;
} }
}
containerStore.clear(); containerStore.clear();