diff --git a/src/m_cond.c b/src/m_cond.c index d5901902e..026dace10 100644 --- a/src/m_cond.c +++ b/src/m_cond.c @@ -1861,7 +1861,7 @@ boolean M_CheckCondition(condition_t *cn, player_t *player) && ( (player->tally.exp >= player->tally.totalExp) || (K_InRaceDuel() && player->duelscore == DUELWINNINGSCORE) - ); + )); case UCRP_FINISHALLPRISONS: return (battleprisons && !(player->pflags & PF_NOCONTEST) diff --git a/src/p_mobj.c b/src/p_mobj.c index 9aacf8009..717cc6cca 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -9112,7 +9112,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj) && (newplayer->tally.totalExp > 0) // Only true if not Time Attack && ( (newplayer->tally.exp >= newplayer->tally.totalExp) || - (K_InRaceDuel() && newplayer->duelscore = DUELWINNINGSCORE) + (K_InRaceDuel() && newplayer->duelscore == DUELWINNINGSCORE) ) ) {