Don't count ore as a "good" collectable.

It's a mission collectable so it shouldn't be counted.
This commit is contained in:
Layla Marchant 2020-03-07 21:24:49 -05:00
parent 376df3cfe7
commit b3d3fa3a69
1 changed files with 1 additions and 1 deletions

View File

@ -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)) &&