Fix an oopsie between pahdr and paliashdr.

I understand the reasons, but ooh, the sw renderer is ugly in places.
This commit is contained in:
Bill Currie 2012-01-17 21:00:19 +09:00
parent 42bb10a3d7
commit 470500f79d

View file

@ -104,7 +104,7 @@ R_AliasCheckBBox (void)
// expand, rotate, and translate points into worldspace
currententity->trivial_accept = 0;
pmodel = currententity->model;
if (!(paliashdr = pmodel->aliashdr))
if (!(pahdr = pmodel->aliashdr))
pahdr = Cache_Get (&pmodel->cache);
pmdl = (mdl_t *) ((byte *) pahdr + pahdr->model);