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-01-08 07:14:08 +00:00
parent 98d7926cf2
commit 775a02fbce

View file

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