Browse Source

Increment generation number of kiddo after breeding

remotes/origin/HEAD
Mike 2 years ago
parent
commit
b635429aff
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Breeder.cpp

+ 3
- 0
Breeder.cpp View File

@@ -81,6 +81,9 @@ namespace BitEvolver
// Reset kiddo's fitness
kiddo->ResetFitness();
// Increment kiddo's generation number
kiddo->IncrementGenerationNumber();
return kiddo;
}


Loading…
Cancel
Save