- fixed offset calculation in A_VileAttack.

This commit is contained in:
Christoph Oelckers 2016-02-07 12:27:11 +01:00
parent d3aae465f5
commit 7658508e90

View file

@ -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);