Fixed a nasty bug that only showed up on 64-bit platforms (or platforms

where sizeof(float) != sizof(float *) to be precise).
This commit is contained in:
Marcus Sundberg 2000-05-14 16:42:16 +00:00
parent eab1ccdf95
commit 8e678728b0

View file

@ -225,7 +225,7 @@ void R_SetupAndDrawSprite ()
scale = yscale * pout->zi; scale = yscale * pout->zi;
pout->v = (ycenter - scale * transformed[1]); pout->v = (ycenter - scale * transformed[1]);
pv += sizeof (vec5_t) / sizeof (pv); pv += sizeof (vec5_t) / sizeof (*pv);
} }
// draw it // draw it