mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-04-22 08:28:53 +00:00
- fixed offset calculation in A_VileAttack.
This commit is contained in:
parent
d3aae465f5
commit
7658508e90
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_VileAttack)
|
|||
if (fire != NULL)
|
||||
{
|
||||
// move the fire between the vile and the player
|
||||
fixedvec3 pos = target->Vec3Angle(-24 * FRACUNIT, self->angle, target->Z());
|
||||
fixedvec3 pos = target->Vec3Angle(-24 * FRACUNIT, self->angle, 0);
|
||||
fire->SetOrigin (pos, true);
|
||||
|
||||
P_RadiusAttack (fire, self, blastdmg, blastrad, dmgtype, 0);
|
||||
|
|
Loading…
Reference in a new issue