mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
1534f2f1b7
commit
20da7c41cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue