mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-29 15:11:54 +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++) {
|
for (int j = 0; j < pheader->numverts; j++) {
|
||||||
utrivertx_t * unsigned_vert = (utrivertx_t*)&(poseverts[posenum][j]);
|
utrivertx_t * unsigned_vert = (utrivertx_t*)&(poseverts[posenum][j]);
|
||||||
poseverts[posenum][i].v[0] = unsigned_vert->v[0] - 128;
|
poseverts[posenum][j].v[0] = unsigned_vert->v[0] - 128;
|
||||||
poseverts[posenum][i].v[1] = unsigned_vert->v[1] - 128;
|
poseverts[posenum][j].v[1] = unsigned_vert->v[1] - 128;
|
||||||
poseverts[posenum][i].v[2] = unsigned_vert->v[2] - 128;
|
poseverts[posenum][j].v[2] = unsigned_vert->v[2] - 128;
|
||||||
}
|
}
|
||||||
|
|
||||||
posenum++;
|
posenum++;
|
||||||
|
@ -2539,6 +2539,7 @@ void Mod_LoadAliasModel (model_t *mod, void *buffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pheader->numposes = posenum;
|
pheader->numposes = posenum;
|
||||||
|
|
||||||
mod->type = mod_alias;
|
mod->type = mod_alias;
|
||||||
|
|
Loading…
Reference in a new issue