mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +00:00
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:
parent
eab1ccdf95
commit
8e678728b0
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,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