mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 02:27:42 +00:00
Properly cleanup Xorg in visigen, various fixes and cleanups in URDE, more CRidley imps
This commit is contained in:
@@ -289,11 +289,11 @@ bool CREVectorZToReal::GetValue(int frame, float& valOut) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CRECEXT::GetValue(int frame, float& valOut) const {
|
||||
bool CREExternalVar::GetValue(int frame, float& valOut) const {
|
||||
int a;
|
||||
x4_a->GetValue(frame, a);
|
||||
int cv = std::max(0, a);
|
||||
valOut = CParticleGlobals::g_currentParticleSystem->x4_system->GetCEXTValue(cv & 0xf);
|
||||
valOut = CParticleGlobals::g_currentParticleSystem->x4_system->GetExternalVar(cv & 0xf);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user