From 6bb2e8481d33ecd2d489c01fba2940c2c315a995 Mon Sep 17 00:00:00 2001 From: James Haley Date: Mon, 4 Oct 2010 05:40:10 +0000 Subject: Programmer should attack the player and not his own location :) Subversion-branch: /branches/strife-branch Subversion-revision: 2155 --- src/strife/p_enemy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index 09cd4dfc..e6665d38 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -1748,7 +1748,8 @@ void A_ProgrammerAttack(mobj_t* actor) if(!actor->target) return; - mo = P_SpawnMobj(actor->x, actor->y, ONFLOORZ, MT_SIGIL_A_GROUND); + mo = P_SpawnMobj(actor->target->x, actor->target->y, ONFLOORZ, + MT_SIGIL_A_GROUND); mo->threshold = 25; mo->target = actor; mo->health = -2; -- cgit v1.2.3