mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +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
98d7926cf2
commit
775a02fbce
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