Added: default value for fxMatrix (thx valgrind)

This commit is contained in:
vl 2010-07-13 10:55:47 +02:00
parent 5b4f2cc791
commit 6b4bfd768d

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);
} }