mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-24 23:46:16 +00:00
Use dedicated shadow graphic
This commit is contained in:
parent
d5b0ba7659
commit
fb30054fcc
1 changed files with 1 additions and 1 deletions
|
|
@ -1244,7 +1244,7 @@ static void R_ProjectDropShadow(mobj_t *thing, vissprite_t *vis, fixed_t scale,
|
|||
|
||||
scalemul = FixedMul(FRACUNIT - floordiff/640, scale);
|
||||
|
||||
patch = W_CachePatchNum(sprites[SPR_THOK].spriteframes[0].lumppat[0], PU_CACHE);
|
||||
patch = W_CachePatchName("DSHADOW", PU_CACHE);
|
||||
xscale = FixedDiv(projection, tz);
|
||||
yscale = FixedDiv(projectiony, tz);
|
||||
shadowxscale = FixedMul(thing->radius*2, scalemul) / patch->width;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue