aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-26 09:47:46 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-26 09:47:46 +0100
commit85ae4b874262012af277492beb0c45cb4d86feef (patch)
tree726bdf79b1174bde34d6acf7a146073cb7244190
parent0927b0b21189df130292cc59bda92cf51348b7c6 (diff)
Renamed componentArray to component_array
-rw-r--r--src/crepe/ComponentManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/ComponentManager.cpp b/src/crepe/ComponentManager.cpp
index 68b5edb..5b73009 100644
--- a/src/crepe/ComponentManager.cpp
+++ b/src/crepe/ComponentManager.cpp
@@ -17,11 +17,11 @@ void ComponentManager::delete_all_components_of_id(game_object_id_t id) {
}
// Loop through all the types (in the unordered_map<>)
- for (auto & [type, componentArray] : this->components) {
+ for (auto & [type, component_array] : this->components) {
// Make sure that the id (that we are looking for) is within the boundaries of the vector<>
- if (id < componentArray.size()) {
+ if (id < component_array.size()) {
// Clear the components at this specific id
- componentArray[id].clear();
+ component_array[id].clear();
}
}
}