From 66b198d1a4d0fb9047e538475dea8e703aa41776 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 3 Oct 2019 09:35:15 -0400 Subject: [PATCH] CElementGen: Correct FourCC in SetTranslation() The game executable checks for a FourCC of ELSC within this function, not SELC. --- Runtime/Particle/CElementGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Particle/CElementGen.cpp b/Runtime/Particle/CElementGen.cpp index 5be66f87d..cb755498c 100644 --- a/Runtime/Particle/CElementGen.cpp +++ b/Runtime/Particle/CElementGen.cpp @@ -1753,7 +1753,7 @@ void CElementGen::SetTranslation(const zeus::CVector3f& translation) { for (const std::unique_ptr& ch : x290_activePartChildren) { switch (ch->Get4CharId().toUint32()) { - case SBIG('SELC'): + case SBIG('ELSC'): ch->SetTranslation(translation + x2c0_SEPO); break; case SBIG('SWHC'):