mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
Set the model type for iqm.
Forgot this rather important step :P
This commit is contained in:
parent
41e7a6c70c
commit
a880f33152
1 changed files with 1 additions and 0 deletions
|
@ -503,6 +503,7 @@ Mod_LoadIQM (model_t *mod, void *buffer)
|
|||
iqm->text = malloc (hdr->num_text);
|
||||
memcpy (iqm->text, (byte *) buffer + hdr->ofs_text, hdr->num_text);
|
||||
mod->aliashdr = (aliashdr_t *) iqm;
|
||||
mod->type = mod_iqm;
|
||||
if (hdr->num_meshes && !load_iqm_meshes (mod, hdr, (byte *) buffer))
|
||||
Sys_Error ("%s: error loading meshes", loadname);
|
||||
if (hdr->num_anims && !load_iqm_anims (mod, hdr, (byte *) buffer))
|
||||
|
|
Loading…
Reference in a new issue