mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
missed recoil for MBF21 codepointers (#694)
This commit is contained in:
parent
1a1ff34159
commit
acdec29c96
@ -1212,6 +1212,8 @@ void A_WeaponBulletAttack(player_t *player, pspdef_t *psp)
|
|||||||
|
|
||||||
P_LineAttack(player->mo, angle, MISSILERANGE, slope, damage);
|
P_LineAttack(player->mo, angle, MISSILERANGE, slope, damage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
A_Recoil(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1259,6 +1261,8 @@ void A_WeaponMeleeAttack(player_t *player, pspdef_t *psp)
|
|||||||
// attack, dammit!
|
// attack, dammit!
|
||||||
P_LineAttack(player->mo, angle, range, slope, damage);
|
P_LineAttack(player->mo, angle, range, slope, damage);
|
||||||
|
|
||||||
|
A_Recoil(player);
|
||||||
|
|
||||||
// missed? ah, welp.
|
// missed? ah, welp.
|
||||||
if (!linetarget)
|
if (!linetarget)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user