Merge pull request #99 from lioncash/typo

CElementGen: Correct FourCC in SetTranslation()
This commit is contained in:
Phillip Stephens 2019-10-03 07:01:31 -07:00 committed by GitHub
commit b9b9eddd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {
switch (ch->Get4CharId().toUint32()) {
case SBIG('SELC'):
case SBIG('ELSC'):
ch->SetTranslation(translation + x2c0_SEPO);
break;
case SBIG('SWHC'):