mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-06 05:06:08 +00:00
CAnimationParameters: Add missing break in switch cases in SetUnknown()
Prevents undocumented switch fallthrough.
This commit is contained in:
parent
cf92227587
commit
7824d0720d
@ -208,8 +208,14 @@ void CAnimationParameters::SetUnknown(uint32 Index, uint32 Value)
|
||||
{
|
||||
switch (Index)
|
||||
{
|
||||
case 0: mAnimIndex = Value;
|
||||
case 1: mUnknown2 = Value;
|
||||
case 2: mUnknown3 = Value;
|
||||
case 0:
|
||||
mAnimIndex = Value;
|
||||
break;
|
||||
case 1:
|
||||
mUnknown2 = Value;
|
||||
break;
|
||||
case 2:
|
||||
mUnknown3 = Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user