mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-26 05:41:24 +00:00
Merge pull request #13 from shpuld/fix/flames-looking-wrong
This commit is contained in:
commit
56efc44b9b
1 changed files with 4 additions and 3 deletions
|
@ -1947,9 +1947,9 @@ void *Mod_LoadAliasGroup (void * pin, maliasframedesc_t *frame)
|
|||
|
||||
for (int j = 0; j < pheader->numverts; j++) {
|
||||
utrivertx_t * unsigned_vert = (utrivertx_t*)&(poseverts[posenum][j]);
|
||||
poseverts[posenum][i].v[0] = unsigned_vert->v[0] - 128;
|
||||
poseverts[posenum][i].v[1] = unsigned_vert->v[1] - 128;
|
||||
poseverts[posenum][i].v[2] = unsigned_vert->v[2] - 128;
|
||||
poseverts[posenum][j].v[0] = unsigned_vert->v[0] - 128;
|
||||
poseverts[posenum][j].v[1] = unsigned_vert->v[1] - 128;
|
||||
poseverts[posenum][j].v[2] = unsigned_vert->v[2] - 128;
|
||||
}
|
||||
|
||||
posenum++;
|
||||
|
@ -2539,6 +2539,7 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
pheader->numposes = posenum;
|
||||
|
||||
mod->type = mod_alias;
|
||||
|
|
Loading…
Reference in a new issue