summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/strife/p_enemy.c3
1 files changed, 2 insertions, 1 deletions
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;