aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/crepe/Component.cpp2
-rw-r--r--src/crepe/Component.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/Component.cpp b/src/crepe/Component.cpp
index 358ce31..230bb70 100644
--- a/src/crepe/Component.cpp
+++ b/src/crepe/Component.cpp
@@ -2,4 +2,4 @@
using namespace crepe;
-Component::Component(uint32_t id) : game_object_id(id), active(true) {}
+Component::Component(uint32_t id) : game_object_id(id) {}
diff --git a/src/crepe/Component.h b/src/crepe/Component.h
index 8db9b2a..40e6f49 100644
--- a/src/crepe/Component.h
+++ b/src/crepe/Component.h
@@ -17,7 +17,7 @@ public:
public:
uint32_t game_object_id;
- bool active;
+ bool active = true;
};
} // namespace crepe