Fixed a sizeof bug which affected non-32bit systems (sizeof on pointer to float instead of sizeof on the float)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1662 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2005-12-02 23:59:40 +00:00
parent 1534f2f1b7
commit 20da7c41cd

View file

@ -218,7 +218,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