From f83e7a8b5d413566a39eb2dd74ffdce9b1472ce5 Mon Sep 17 00:00:00 2001 From: yalania Date: Tue, 14 Jan 2020 09:33:12 +0100 Subject: [PATCH] fix initialization order --- Engine/GameObject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/GameObject.h b/Engine/GameObject.h index ed9b9847a..469cf6280 100644 --- a/Engine/GameObject.h +++ b/Engine/GameObject.h @@ -51,16 +51,16 @@ class GameObject void SetHierarchyStatic(bool is_static); public: + std::vector components; std::string name = ""; - uint64_t UUID = -1; GameObject* parent = nullptr; std::vector children; + uint64_t UUID = -1; ComponentAABB aabb; ComponentTransform transform; - std::vector components; private: