From 15988afb4ce5ed26c65383153f677b7291b8fef6 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Mon, 20 Mar 2023 21:14:52 -0500 Subject: [PATCH] hey it compiles --- dGame/dComponents/ItemComponent.h | 3 ++- dGame/dComponents/MutableModelBehaviorComponent.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dGame/dComponents/ItemComponent.h b/dGame/dComponents/ItemComponent.h index ca5cbfeb..ccfa63a8 100644 --- a/dGame/dComponents/ItemComponent.h +++ b/dGame/dComponents/ItemComponent.h @@ -4,13 +4,14 @@ #include "NiPoint3.h" #include "NiQuaternion.h" #include "Component.h" +#include "eReplicaComponentType.h" class Entity; enum class eUgcModerationStatus : uint32_t; class ItemComponent : public Component { public: - static const uint32_t ComponentType = COMPONENT_TYPE_ITEM; + static const eReplicaComponentType ComponentType = eReplicaComponentType::ITEM; ItemComponent(Entity* parent); diff --git a/dGame/dComponents/MutableModelBehaviorComponent.h b/dGame/dComponents/MutableModelBehaviorComponent.h index 42187818..2256fa31 100644 --- a/dGame/dComponents/MutableModelBehaviorComponent.h +++ b/dGame/dComponents/MutableModelBehaviorComponent.h @@ -4,6 +4,7 @@ #include "NiPoint3.h" #include "NiQuaternion.h" #include "Component.h" +#include "eReplicaComponentType.h" class Entity; @@ -12,7 +13,7 @@ class Entity; */ class MutableModelBehaviorComponent : public Component { public: - static const uint32_t ComponentType = COMPONENT_TYPE_MODEL; + static const eReplicaComponentType ComponentType = eReplicaComponentType::MODEL; MutableModelBehaviorComponent(Entity* parent);