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