Remove compile warning

Thanks @TeTpaAka for pointing this out.
This commit is contained in:
est31 2015-06-25 15:50:31 +02:00
parent 3d43df99f1
commit 3376d2e114
1 changed files with 0 additions and 1 deletions

View File

@ -795,7 +795,6 @@ void InventoryList::moveItemSomewhere(u32 i, InventoryList *dest, u32 count)
return;
// Try to add the item to destination list
u32 oldcount = item1.count;
u32 dest_size = dest->getSize();
// First try all the non-empty slots
for (u32 dest_i = 0; dest_i < dest_size; dest_i++) {