From d57cc5f3733ba9236579959c436533d9737739a3 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Tue, 11 Nov 2025 17:06:50 +0000 Subject: [PATCH] test/species.c: Only enabled species --- test/species.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/species.c b/test/species.c index 06351f179e..c4d91e60e5 100644 --- a/test/species.c +++ b/test/species.c @@ -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;