diff --git a/src/k_kart.c b/src/k_kart.c index 930f40af..92baa5a2 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -1390,8 +1390,8 @@ void K_SpinPlayer(player_t *player, mobj_t *source) if (G_BattleGametype()) { - /*if (source && source->player && player != source->player) - P_AddPlayerScore(source->player, 1);*/ + if (source && source->player && player != source->player) + P_AddPlayerScore(source->player, 1); if (player->kartstuff[k_balloon] > 0) { @@ -1448,8 +1448,8 @@ void K_SquishPlayer(player_t *player, mobj_t *source) if (G_BattleGametype()) { - /*if (source && source->player && player != source->player) - P_AddPlayerScore(source->player, 1);*/ + if (source && source->player && player != source->player) + P_AddPlayerScore(source->player, 1); if (player->kartstuff[k_balloon] > 0) { @@ -1505,7 +1505,7 @@ void K_ExplodePlayer(player_t *player, mobj_t *source) // A bit of a hack, we ju if (source->player->kartstuff[k_comebackpoints] >= 3) K_StealBalloon(source->player, player, true); } - //P_AddPlayerScore(source->player, 1); + P_AddPlayerScore(source->player, 1); } if (player->kartstuff[k_balloon] > 0) @@ -3437,7 +3437,7 @@ void K_CheckBalloons(void) if (playeringame[winnernum]) { - P_AddPlayerScore(&players[winnernum], 1); + players[winnernum].score += 1; CONS_Printf(M_GetText("%s recieved a point for winning!\n"), player_names[winnernum]); } diff --git a/src/p_user.c b/src/p_user.c index 13da9a0e..e4af0d62 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1041,6 +1041,10 @@ void P_AddPlayerScore(player_t *player, UINT32 amount) { UINT32 oldscore; +#if 1 + return; // Nope, still don't need this for Battle even +#endif + if (player->bot) player = &players[consoleplayer];