Remove duplicate argument to DeleteItem

This commit is contained in:
ephphatha 2021-09-23 23:59:14 +10:00 committed by Anders Jenbo
commit 18658f6a42
5 changed files with 10 additions and 9 deletions

View file

@ -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);
}
}
}