2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:07:41 +00:00

Particle DNA property names

This commit is contained in:
Jack Andersen
2016-03-02 12:37:10 -10:00
parent c1af78e7ed
commit 7bf455af79
3 changed files with 306 additions and 323 deletions

View File

@@ -820,12 +820,12 @@ void CElementGen::UpdatePSTranslationAndOrientation()
CModVectorElement* psvm = desc->x4_PSVM.get();
if (psvm)
{
Zeus::CVector3f vel = x7c_translation;
psvm->GetValue(x50_curFrame, x218_PSIV, vel);
if (vel != x7c_translation)
Zeus::CVector3f pos = x7c_translation;
psvm->GetValue(x50_curFrame, x218_PSIV, pos);
if (pos != x7c_translation)
{
x224_24_translationDirty = true;
x7c_translation = vel;
x7c_translation = pos;
}
}