diff options
author | James Haley | 2010-10-04 05:40:10 +0000 |
---|---|---|
committer | James Haley | 2010-10-04 05:40:10 +0000 |
commit | 6bb2e8481d33ecd2d489c01fba2940c2c315a995 (patch) | |
tree | c21a7c0273b87181b27b82bddcccac9aaf7bb1d5 /src | |
parent | 1a758de7023a79d8a9b44904caf938e58807fbbe (diff) | |
download | chocolate-doom-6bb2e8481d33ecd2d489c01fba2940c2c315a995.tar.gz chocolate-doom-6bb2e8481d33ecd2d489c01fba2940c2c315a995.tar.bz2 chocolate-doom-6bb2e8481d33ecd2d489c01fba2940c2c315a995.zip |
Programmer should attack the player and not his own location :)
Subversion-branch: /branches/strife-branch
Subversion-revision: 2155
Diffstat (limited to 'src')
-rw-r--r-- | src/strife/p_enemy.c | 3 |
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; |