mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Fix out of range enum casts in deSerialize functions (#14090)
This commit is contained in:
@@ -202,7 +202,8 @@ namespace ParticleParamTypes
|
||||
}
|
||||
|
||||
// Animation styles (fwd is normal, linear interpolation)
|
||||
enum class TweenStyle : u8 { fwd, rev, pulse, flicker };
|
||||
// TweenStyle_END is a dummy value for validity check
|
||||
enum class TweenStyle : u8 { fwd, rev, pulse, flicker, TweenStyle_END};
|
||||
|
||||
// "Tweened" pretty much means "animated" in this context
|
||||
template <typename T>
|
||||
|
Reference in New Issue
Block a user