mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change i++ to ++i
This commit is contained in:
parent
2480f2d06f
commit
34b7a147dc
41 changed files with 125 additions and 125 deletions
|
@ -730,7 +730,7 @@ bool InventoryList::containsItem(const ItemStack &item) const
|
|||
return true;
|
||||
for(std::vector<ItemStack>::const_reverse_iterator
|
||||
i = m_items.rbegin();
|
||||
i != m_items.rend(); i++)
|
||||
i != m_items.rend(); ++i)
|
||||
{
|
||||
if(count == 0)
|
||||
break;
|
||||
|
@ -750,7 +750,7 @@ ItemStack InventoryList::removeItem(const ItemStack &item)
|
|||
ItemStack removed;
|
||||
for(std::vector<ItemStack>::reverse_iterator
|
||||
i = m_items.rbegin();
|
||||
i != m_items.rend(); i++)
|
||||
i != m_items.rend(); ++i)
|
||||
{
|
||||
if(i->name == item.name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue