mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 08:44:25 +00:00
This acursed crash-inducing typo spat in my face and called me a bitch
This commit is contained in:
parent
0ea9b26b97
commit
9d2a3a060e
1 changed files with 2 additions and 3 deletions
|
|
@ -1177,12 +1177,11 @@ static void R_ProjectDropShadow(mobj_t *thing, vissprite_t *vis, fixed_t tx, fix
|
|||
shadow->sz = (INT16)((centeryfrac - FixedMul(shadow->gz - viewz, yscale))>>FRACBITS);
|
||||
shadow->cut = SC_ISSCALED|SC_SHADOW; //check this
|
||||
|
||||
|
||||
shadow->startfrac = 0;
|
||||
shadow->xiscale = 0x7fffff00 / (shadow->xscale/2);
|
||||
shadow->xiscale = 0x7ffffff0 / (shadow->xscale/2);
|
||||
|
||||
if (shadow->x1 > x1)
|
||||
shadow->startfrac += shadow->xiscale*(vis->x1-x1);
|
||||
shadow->startfrac += shadow->xiscale*(shadow->x1-x1);
|
||||
|
||||
if (thing->subsector->sector->numlights)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue