Remove the hedgehogs from the garden.

While the first frame was fine, any subsequent ones were not. I had
forgotten that hdr->poseverts held the edited vertex count rather than
hdr->mdl.numverts.
This commit is contained in:
Bill Currie 2012-01-03 18:11:39 +09:00
parent d7bc437e2c
commit e8f863c76f

View file

@ -198,7 +198,7 @@ R_DrawAlias (void)
skin = R_AliasGetSkindesc (ent->skinnum, hdr); skin = R_AliasGetSkindesc (ent->skinnum, hdr);
frame = R_AliasGetFramedesc (ent->frame, hdr); frame = R_AliasGetFramedesc (ent->frame, hdr);
pose += frame->firstpose * hdr->mdl.numverts; pose += frame->firstpose * hdr->poseverts;
skin_size[0] = hdr->mdl.skinwidth; skin_size[0] = hdr->mdl.skinwidth;
skin_size[1] = hdr->mdl.skinheight; skin_size[1] = hdr->mdl.skinheight;