From 050184c55860c10d818e8958e5426afc0eb735b4 Mon Sep 17 00:00:00 2001 From: jadebenn Date: Thu, 1 Feb 2024 09:43:28 -0600 Subject: [PATCH] chore: nitpicks on rendercomponent changes (#1440) * nitpicks on rendercomponent * undo constexpr --- dGame/dComponents/RenderComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dComponents/RenderComponent.cpp b/dGame/dComponents/RenderComponent.cpp index 6616877f..449fbc4d 100644 --- a/dGame/dComponents/RenderComponent.cpp +++ b/dGame/dComponents/RenderComponent.cpp @@ -66,7 +66,7 @@ void RenderComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitial } Effect& RenderComponent::AddEffect(const int32_t effectId, const std::string& name, const std::u16string& type, const float priority) { - return m_Effects.emplace_back(Effect{ effectId, name, type, priority }); + return m_Effects.emplace_back(effectId, name, type, priority); } void RenderComponent::RemoveEffect(const std::string& name) {