From 8e678728b0c7f0c764e85cfcbb563c625307bc9e Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Sun, 14 May 2000 16:42:16 +0000 Subject: [PATCH] Fixed a nasty bug that only showed up on 64-bit platforms (or platforms where sizeof(float) != sizof(float *) to be precise). --- source/r_sprite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/r_sprite.c b/source/r_sprite.c index baeb7a4..d905243 100644 --- a/source/r_sprite.c +++ b/source/r_sprite.c @@ -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