Added: default value for fxMatrix (thx valgrind)

This commit is contained in:
vl 2010-07-13 10:55:47 +02:00
parent 34e58b7f19
commit 4e87d65d87

View file

@ -8848,6 +8848,7 @@ void CCharacterCL::alignFX(UParticleSystemInstance instance, float scale /* = 1.
{ {
// copy matrix from parent // copy matrix from parent
CMatrix fxMatrix; CMatrix fxMatrix;
fxMatrix.identity();
buildAlignMatrix(fxMatrix); buildAlignMatrix(fxMatrix);
alignFX(instance, fxMatrix, scale, localOffset); alignFX(instance, fxMatrix, scale, localOffset);
} }