From: divverent Date: Sat, 7 Nov 2009 12:56:20 +0000 (+0000) Subject: and fix a NULL pointer causing typo... X-Git-Tag: xonotic-v0.1.0preview~1192 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d5333c415c0c6b4d8204ced0089d740c28f35537;p=xonotic%2Fdarkplaces.git and fix a NULL pointer causing typo... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9450 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/csprogs.c b/csprogs.c index 1cc47d6a..5392ae07 100644 --- 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;