This commit is contained in:
Monster Iestyn 2016-04-05 21:21:45 +01:00
parent e8a4d7b7b8
commit 29f0301540

View file

@ -7549,7 +7549,7 @@ void P_HomingAttack(mobj_t *source, mobj_t *enemy) // Home in on your target
// change angle
source->angle = R_PointToAngle2(source->x, source->y, enemy->x, enemy->y);
if (source->player && (!demoplayback || P_AnalogMove(player)))
if (source->player && (!demoplayback || P_AnalogMove(source->player)))
{
if (source->player == &players[consoleplayer])
localangle = source->angle;