From 1f91e89a3e123ab037402fa893c3432d9cdf60d5 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sun, 14 Aug 2022 18:15:17 -0400 Subject: [PATCH] Try to fix intermission idk?! Untested --- src/y_inter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/y_inter.c b/src/y_inter.c index fe5c5ba90..cbb8b75d9 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -1003,11 +1003,11 @@ void Y_StartIntermission(void) if (powertype != PWRLV_DISABLED) { - for (i = 0; i < nump; i++) + for (i = 0; i < data.numplayers; i++) { // Kind of a hack to do this here, // but couldn't think of a better way. - data.increase[i] = K_FinalPowerIncrement( + data.increase[i] = -K_FinalPowerIncrement( &players[data.num[i]], clientpowerlevels[data.num[i]][powertype], clientPowerAdd[data.num[i]]