From 8e7f77d7f7ada19b1b08731fc6741c0963aafc3d Mon Sep 17 00:00:00 2001 From: max-001 Date: Wed, 6 Nov 2024 13:08:51 +0100 Subject: Default value defined in class instead of constructor --- src/crepe/Component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/Component.h') 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 -- cgit v1.2.3