diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 13:08:51 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 13:08:51 +0100 |
commit | 8e7f77d7f7ada19b1b08731fc6741c0963aafc3d (patch) | |
tree | 41ce945154a6fa16c1eee4b2a19e0703d2fdc42a /src/crepe/Component.h | |
parent | b2dea4e5f127e78fe9ff67e2504b8943085fe3b1 (diff) |
Default value defined in class instead of constructor
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r-- | src/crepe/Component.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |