mirror of https://github.com/AxioDL/metaforce.git
CElementGen: Correct FourCC in SetTranslation()
The game executable checks for a FourCC of ELSC within this function, not SELC.
This commit is contained in:
parent
c0c214cc56
commit
66b198d1a4
|
@ -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'):
|
||||||
|
|
Loading…
Reference in New Issue