From b3d3fa3a69fcd0cf9bc79c4494d696842a81b8c6 Mon Sep 17 00:00:00 2001 From: Layla Marchant Date: Sat, 7 Mar 2020 21:24:49 -0500 Subject: [PATCH] Don't count ore as a "good" collectable. It's a mission collectable so it shouldn't be counted. --- src/collectable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collectable.c b/src/collectable.c index 2d7a296..aac3658 100644 --- a/src/collectable.c +++ b/src/collectable.c @@ -329,7 +329,7 @@ int collectable_numGood() while (col != NULL) { - if ((col->type != P_MINE) && + if ((col->type != P_MINE) && (col->type != P_ORE) && ((col->type != P_SHIELD) || (player.shield < player.maxShield)) && ((col->type != P_ROCKET) || (player.ammo[1] < game.maxRocketAmmo)) && ((col->type != P_PLASMA_AMMO) || (player.ammo[0] < game.maxPlasmaAmmo)) &&