mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:44:56 +00:00
Fix CNewIntroBoss and particle bugs
This commit is contained in:
@@ -370,7 +370,7 @@ bool CElementGen::UpdateVelocitySource(u32 idx, u32 particleFrame, CParticle& pa
|
||||
zeus::CVector3f localPos = x208_orientationInverse * (particle.x4_pos - xdc_translation);
|
||||
err = x280_VELSources[idx]->GetValue(particleFrame, localVel, localPos);
|
||||
particle.x1c_vel = x1d8_orientation.rotate(localVel);
|
||||
particle.x4_pos = x1d8_orientation.rotate(localVel) + xdc_translation;
|
||||
particle.x4_pos = x1d8_orientation.rotate(localPos) + xdc_translation;
|
||||
} else {
|
||||
err = x280_VELSources[idx]->GetValue(particleFrame, particle.x1c_vel, particle.x4_pos);
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ private:
|
||||
float x8c_generatorRemainder = 0.f;
|
||||
int x90_MAXP = 0;
|
||||
int m_maxMAXP = 256;
|
||||
u16 x94_randomSeed = 99;
|
||||
u16 x94_randomSeed = g_GlobalSeed;
|
||||
float x98_generatorRate = 1.f;
|
||||
float x9c_cextValues[16] = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user