Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: D:/andre/prg/doom/Eternity/source/p_enemy.c
- ===================================================================
- --- D:/andre/prg/doom/Eternity/source/p_enemy.c (revision 1103)
- +++ D:/andre/prg/doom/Eternity/source/p_enemy.c (working copy)
- @@ -1247,6 +1247,7 @@
- static boolean P_HelpFriend(mobj_t *actor)
- {
- thinker_t *cap, *th;
- + int aaa = 0;
- // If less than 33% health, self-preservation rules
- if(actor->health*3 < actor->info->spawnhealth)
- @@ -1260,6 +1261,7 @@
- for (th = cap->cnext; th != cap; th = th->cnext)
- {
- + aaa++;
- if(((mobj_t *) th)->health*2 >=
- ((mobj_t *) th)->info->spawnhealth)
- {
- @@ -1279,6 +1281,7 @@
- }
- }
- + doom_printf("%d", aaa);
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement