Explicit pointer cast for R_InterpolatePrecipMobjState

This commit is contained in:
toaster 2022-11-01 13:41:04 +00:00 committed by Eidolon
parent 5f6c56cf36
commit 0cd3629d00

View file

@ -3767,7 +3767,7 @@ static void HWR_RotateSpritePolyToAim(gl_vissprite_t *spr, FOutVector *wallVerts
{
if (precip)
{
R_InterpolatePrecipMobjState(spr->mobj, rendertimefrac, &interp);
R_InterpolatePrecipMobjState((precipmobj_t *)spr->mobj, rendertimefrac, &interp);
}
else
{
@ -3778,7 +3778,7 @@ static void HWR_RotateSpritePolyToAim(gl_vissprite_t *spr, FOutVector *wallVerts
{
if (precip)
{
R_InterpolatePrecipMobjState(spr->mobj, FRACUNIT, &interp);
R_InterpolatePrecipMobjState((precipmobj_t *)spr->mobj, FRACUNIT, &interp);
}
else
{