]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
and fix a NULL pointer causing typo...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Nov 2009 12:56:20 +0000 (12:56 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 7 Nov 2009 12:56:20 +0000 (12:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9450 d7cf8633-e32d-0410-b094-e92efae38249

csprogs.c

index 1cc47d6ad73854b9b24f488945c3b7b885b7209d..5392ae07e5f078da3ee9c399ef9133427a94d9bd 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -1039,7 +1039,7 @@ qboolean CL_BlendTagMatrix(entity_render_t *entrender, int tagindex, matrix4x4_t
        if(!model)
                return false;
        // blend the matrices
-       memset(&blendmatrix, 0, sizeof(blendmatrix));
+       memset(blendmatrix, 0, sizeof(*blendmatrix));
        for (j = 0;j < MAX_FRAMEBLENDS && entrender->frameblend[j].lerp > 0;j++)
        {
                matrix4x4_t tagmatrix;