1
0
Fork 0
forked from fte/fteqw

Mod_LoadQ2Model: allow parsing .framegroups override files

This commit is contained in:
Marco Cawthorne 2024-09-14 22:48:30 -07:00
parent 2e51fb74be
commit 09768089c0

View file

@ -4695,13 +4695,13 @@ static qboolean QDECL Mod_LoadQ2Model (model_t *mod, void *buffer, size_t fsize)
Mod_ClampModelSize(mod); Mod_ClampModelSize(mod);
Mod_ParseModelEvents(mod, galias->ofsanimations, galias->numanimations); Mod_ParseModelEvents(mod, galias->ofsanimations, galias->numanimations);
Mesh_HandleFramegroupsFile(mod, galias);
mod->meshinfo = galias; mod->meshinfo = galias;
mod->numframes = galias->numanimations; mod->numframes = galias->numanimations;
mod->type = mod_alias; mod->type = mod_alias;
mod->funcs.NativeTrace = Mod_Trace; mod->funcs.NativeTrace = Mod_Trace;
return true; return true;
} }