From 344d07775d7ef992275b402d565e6002b7e881ff Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Tue, 25 Feb 2025 20:12:10 +0100 Subject: [PATCH] Apparently the pushers themselves also check for sector specials!? ...also removed a fan special dupe --- src/p_spec.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index e5ad301ec..6874f82db 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -5352,20 +5352,6 @@ static void P_EvaluateOldSectorSpecial(player_t *player, sector_t *sector, secto P_ProcessEggCapsule(player, sector); break; } - - switch (GETSECSPECIAL(sector->special, 4)) - { - case 5: // Fan sector - { - player->mo->momz += 5*FRACUNIT/4; - - if (player->mo->momz > 5*FRACUNIT) - player->mo->momz = 5*FRACUNIT; - - P_ResetPlayer(player); - break; - } - } } /** Applies a sector special to a player. @@ -9235,7 +9221,11 @@ void T_Pusher(pusher_t *p) sec = sectors + p->affectee; if (p->roverpusher) + { referrer = sectors + p->referrer; + if (mapnamespace == MNS_SRB2KART && !(referrer->specialflags & SSF_WINDCURRENT)) + return; + } // For constant pushers (wind/current) there are 3 situations: //