Remove duplicate argument to DeleteItem
This commit is contained in:
parent
baa1cd65c5
commit
18658f6a42
5 changed files with 10 additions and 9 deletions
|
|
@ -931,7 +931,7 @@ void RemoveEmptyLevelItems()
|
|||
auto &item = Items[ActiveItems[i]];
|
||||
if (item.isEmpty()) {
|
||||
dItem[item.position.x][item.position.y] = 0;
|
||||
DeleteItem(ActiveItems[i], i);
|
||||
DeleteItem(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue