CElementGen: Correct FourCC in SetTranslation()

The game executable checks for a FourCC of ELSC within this function,
not SELC.
This commit is contained in:
Lioncash 2019-10-03 09:35:15 -04:00
parent c0c214cc56
commit 66b198d1a4
1 changed files with 1 additions and 1 deletions

View File

@ -1753,7 +1753,7 @@ void CElementGen::SetTranslation(const zeus::CVector3f& translation) {
for (const std::unique_ptr<CParticleGen>& ch : x290_activePartChildren) { for (const std::unique_ptr<CParticleGen>& ch : x290_activePartChildren) {
switch (ch->Get4CharId().toUint32()) { switch (ch->Get4CharId().toUint32()) {
case SBIG('SELC'): case SBIG('ELSC'):
ch->SetTranslation(translation + x2c0_SEPO); ch->SetTranslation(translation + x2c0_SEPO);
break; break;
case SBIG('SWHC'): case SBIG('SWHC'):