mirror of https://github.com/AxioDL/metaforce.git
ParticleCommon: Fix IESampleAndHold element ordering
This commit is contained in:
parent
6e3d94483c
commit
8b597112be
|
@ -917,9 +917,9 @@ struct IEMultiply : IIntElement {
|
|||
|
||||
struct IESampleAndHold : IIntElement {
|
||||
AT_DECL_DNA_YAMLV_NO_TYPE
|
||||
IntElementFactory val;
|
||||
IntElementFactory waitMin;
|
||||
IntElementFactory waitMax;
|
||||
IntElementFactory val;
|
||||
std::string_view ClassID() const override { return "SPAH"sv; }
|
||||
};
|
||||
|
||||
|
|
|
@ -662,7 +662,7 @@ std::unique_ptr<CIntElement> CParticleDataFactory::GetIntElement(CInputStream& i
|
|||
auto a = GetIntElement(in);
|
||||
auto b = GetIntElement(in);
|
||||
auto c = GetIntElement(in);
|
||||
return std::make_unique<CIESampleAndHold>(std::move(a), std::move(b), std::move(c));
|
||||
return std::make_unique<CIESampleAndHold>(std::move(c), std::move(a), std::move(b));
|
||||
}
|
||||
case SBIG('RAND'): {
|
||||
auto a = GetIntElement(in);
|
||||
|
|
Loading…
Reference in New Issue