Skip to content

Commit

Permalink
fix: reload warnings (#80)
Browse files Browse the repository at this point in the history
Fixes the warnings when reloading the RME (F5).
  • Loading branch information
phacUFPE authored Jun 11, 2024
1 parent 0abbba8 commit cf8dd89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ ItemType &ItemDatabase::operator[](uint16_t id) {
void ItemDatabase::clear() {
for (size_t i = 0; i < items.size(); i++) {
items[i].reset();
items.set(i, nullptr);
}
}

Expand Down

0 comments on commit cf8dd89

Please sign in to comment.