2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 08:27:42 +00:00

SParticleMetrics is a lie

This commit is contained in:
Jack Andersen
2016-02-24 20:23:35 -10:00
parent c3a1fec4a5
commit 2e6d7c26e2
7 changed files with 25 additions and 36 deletions

View File

@@ -1,4 +1,5 @@
#include "CColorElement.hpp"
#include "CElementGen.hpp"
#include "CParticleGlobals.hpp"
#include "CRandom16.hpp"
#include <math.h>
@@ -152,7 +153,7 @@ bool CCEPulse::GetValue(int frame, Zeus::CColor& valOut) const
bool CCEParticleColor::GetValue(int /*frame*/, Zeus::CColor& colorOut) const
{
colorOut = CParticleGlobals::g_particleMetrics->x34_pcol;
colorOut = CElementGen::g_currentParticle->x34_color;
return false;
}