test/species.c: Only enabled species

This commit is contained in:
Martin Griffin 2025-11-11 17:06:50 +00:00
parent 36aec16b00
commit d57cc5f373

View File

@ -106,7 +106,7 @@ TEST("No species has two evolutions that use the evolution tracker")
for (i = 0; i < NUM_SPECIES; i++)
{
if (GetSpeciesEvolutions(i) != NULL) PARAMETRIZE { species = i; }
if (IsSpeciesEnabled(i) && GetSpeciesEvolutions(i) != NULL) PARAMETRIZE { species = i; }
}
evolutionTrackerEvolutions = 0;