mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 09:48:20 +00:00
chore: nitpicks on rendercomponent changes (#1440)
* nitpicks on rendercomponent * undo constexpr
This commit is contained in:
parent
b23981e591
commit
050184c558
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user