summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Villareal2010-09-18 03:02:38 +0000
committerSamuel Villareal2010-09-18 03:02:38 +0000
commit08b1ff3b0ba4796908d9aee601c62d9ce54f091f (patch)
tree17f14c6b9eae60b259d44369c4233ef15fd4c992
parent533755e5298ecd39bd682dfd1e33c98d80445369 (diff)
downloadchocolate-doom-08b1ff3b0ba4796908d9aee601c62d9ce54f091f.tar.gz
chocolate-doom-08b1ff3b0ba4796908d9aee601c62d9ce54f091f.tar.bz2
chocolate-doom-08b1ff3b0ba4796908d9aee601c62d9ce54f091f.zip
+ A_AcolyteSpecial fixed
Subversion-branch: /branches/strife-branch Subversion-revision: 2101
-rw-r--r--src/strife/p_enemy.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c
index fed64e85..acebb77f 100644
--- a/src/strife/p_enemy.c
+++ b/src/strife/p_enemy.c
@@ -2874,7 +2874,6 @@ void A_BossDeath (mobj_t* mo)
//
void A_AcolyteSpecial(mobj_t* actor)
{
- int p;
int i;
thinker_t* th;
@@ -2883,12 +2882,11 @@ void A_AcolyteSpecial(mobj_t* actor)
for(i = 0; i < MAXPLAYERS; i++)
{
- if(playeringame[i])
- p++;
+ if(playeringame[i] && &players[i].health > 0)
+ break;
}
- // [STRIFE] TODO - whats the point of this?
- if(p == 8)
+ if(i == 8)
return;
for(th = thinkercap.next; th != &thinkercap; th = th->next)