diff --git a/src/m_cond.c b/src/m_cond.c index d121b3db1..518c7780e 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -887,7 +887,7 @@ boolean M_CheckCondition(condition_t *cn, player_t *player) case UCRP_WETPLAYER: return (((player->roundconditions.wet_player & cn->requirement) == 0) - || player->roundconditions.fell_off); // Levels with water tend to texture their pits as water too + && !player->roundconditions.fell_off); // Levels with water tend to texture their pits as water too } return false; } diff --git a/src/m_cond.h b/src/m_cond.h index 3ba54e7c4..968d5c38e 100644 --- a/src/m_cond.h +++ b/src/m_cond.h @@ -103,7 +103,7 @@ typedef enum UCRP_LANDMINEDUNK, // huh? you died? that's weird. all i did was try to hug you... UCRP_HITMIDAIR, // Hit another player mid-air with a kartfielditem - UCRP_WETPLAYER, // Touch [fluid] + UCRP_WETPLAYER, // Don't touch [fluid] } conditiontype_t; // Condition Set information diff --git a/src/p_inter.c b/src/p_inter.c index 3e04b5c31..3acc52cdd 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -1929,7 +1929,7 @@ static boolean P_KillPlayer(player_t *player, mobj_t *inflictor, mobj_t *source, { case DMG_DEATHPIT: // Fell off the stage - if (player->roundconditions.fell_off == true) + if (player->roundconditions.fell_off == false) { player->roundconditions.fell_off = true; player->roundconditions.checkthisframe = true;