mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-27 23:22:06 -04:00
fix beta bfg from SMMU (#568)
This commit is contained in:
parent
ebddf8b219
commit
25d84b190d
@ -789,6 +789,12 @@ void A_FireOldBFG(player_t *player, pspdef_t *psp)
|
|||||||
}
|
}
|
||||||
while (mask && (mask=0, !linetarget)); // killough 8/2/98
|
while (mask && (mask=0, !linetarget)); // killough 8/2/98
|
||||||
an1 += an - mo->angle;
|
an1 += an - mo->angle;
|
||||||
|
// sf: despite killough's infinite wisdom.. even
|
||||||
|
// he is prone to mistakes. seems negative numbers
|
||||||
|
// won't survive a bitshift!
|
||||||
|
if (slope < 0)
|
||||||
|
an2 -= tantoangle[-slope >> DBITS];
|
||||||
|
else
|
||||||
an2 += tantoangle[slope >> DBITS];
|
an2 += tantoangle[slope >> DBITS];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user