- fixed some minor issues found during reviewing the code.
This commit is contained in:
parent
671291227e
commit
29a7fe33f3
12 changed files with 51 additions and 32 deletions
|
|
@ -100,7 +100,7 @@ bool AArtiPoisonBag3::Use (bool pickup)
|
|||
mo = Spawn("ThrowingBomb", Owner->PosPlusZ(-Owner->floorclip+35*FRACUNIT + (Owner->player? Owner->player->crouchoffset : 0)), ALLOW_REPLACE);
|
||||
if (mo)
|
||||
{
|
||||
mo->Angles.Yaw = Owner->Angles.Yaw + (((pr_poisonbag() & 7) - 4) * 22.5f);
|
||||
mo->Angles.Yaw = Owner->Angles.Yaw + (((pr_poisonbag() & 7) - 4) * (360./256.));
|
||||
|
||||
/* Original flight code from Hexen
|
||||
* mo->momz = 4*FRACUNIT+((player->lookdir)<<(FRACBITS-4));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue