Skip to content

Commit

Permalink
chore: nitpicks on rendercomponent changes (#1440)
Browse files Browse the repository at this point in the history
* nitpicks on rendercomponent

* undo constexpr
  • Loading branch information
jadebenn authored Feb 1, 2024
1 parent b23981e commit 050184c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dGame/dComponents/RenderComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 050184c

Please sign in to comment.