mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
Fix a bug with md2 loading.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4484 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
759c436d09
commit
f9685cde37
1 changed files with 1 additions and 1 deletions
|
@ -3342,7 +3342,7 @@ qboolean Mod_LoadQ2Model (model_t *mod, void *buffer)
|
|||
#ifndef SERVERONLY
|
||||
size += 3*sizeof(vec3_t)*numverts;
|
||||
#endif
|
||||
pose = (galiaspose_t *)ZG_Malloc(&loadmodel->memgroup, sizeof(galiaspose_t) + sizeof(vecV_t)*numverts);
|
||||
pose = (galiaspose_t *)ZG_Malloc(&loadmodel->memgroup, size);
|
||||
poutframe->poseofs = pose;
|
||||
poutframe->numposes = 1;
|
||||
galias->groups++;
|
||||
|
|
Loading…
Reference in a new issue