diff options
author | Abdou-31 <abdou31.coding@gmail.com> | 2022-11-09 17:57:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 11:57:19 -0500 |
commit | d1b80b462eaa74a8640cf132c21f74e4f924052a (patch) | |
tree | d5804214487f339643ab6cdf74fbd113cb02cb2b /src/nodedef.cpp | |
parent | 6191bafcadc21277be5527ed1ac05f7902e710ad (diff) | |
download | minetest-d1b80b462eaa74a8640cf132c21f74e4f924052a.tar.xz |
Fix typos and en_US/en_GB inconsistency in various files (#12902)
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r-- | src/nodedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index 607107264..383edae36 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -1355,7 +1355,7 @@ void NodeDefManager::eraseIdFromGroups(content_t id) // Get the group items vector. std::vector<content_t> &items = iter_groups->second; - // Remove any occurence of the id in the group items vector. + // Remove any occurrence of the id in the group items vector. items.erase(std::remove(items.begin(), items.end(), id), items.end()); // If group is empty, erase its vector from the map. |