From 0a7f3751f6553bf967698afb559c9959261ffc2b Mon Sep 17 00:00:00 2001
From: Matt Walsh <MattWCSTRFAN@gmail.com>
Date: Fri, 2 Jan 2015 16:37:13 +0000
Subject: [PATCH] Add in missing super check

git-svn-id: https://code.orospakr.ca/svn/srb2/trunk@8984 6de4a73c-47e2-0310-b8c1-93d6ecd3f8cd
---
 src/p_enemy.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/p_enemy.c b/src/p_enemy.c
index 18a4ec5ff4..2a8ab5bb90 100644
--- a/src/p_enemy.c
+++ b/src/p_enemy.c
@@ -5660,6 +5660,11 @@ void A_RecyclePowers(mobj_t *actor)
 		if (playeringame[i] && players[i].mo && players[i].mo->health > 0 && players[i].playerstate == PST_LIVE
 			&& !players[i].exiting && !((netgame || multiplayer) && players[i].spectator))
 		{
+#ifndef WEIGHTEDRECYCLER
+			if (players[i].powers[pw_super])
+				continue; // Ignore super players
+#endif
+
 			numplayers++;
 			postscramble[j] = playerslist[j] = (UINT8)i;
 
-- 
GitLab