mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
This acursed crash-inducing typo spat in my face and called me a bitch
This commit is contained in:
parent
c46c92d605
commit
5929b4797e
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…
Reference in a new issue