diff options
-rw-r--r-- | src/dna.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dna.cpp b/src/dna.cpp index 6968c90..8cef6e0 100644 --- a/src/dna.cpp +++ b/src/dna.cpp @@ -39,7 +39,7 @@ DNA DNA::combine(DNA D) N.bite = (bite + D.bite)/2; N.expectedPregnancyTime = (expectedPregnancyTime + D.expectedPregnancyTime)/2; N.expectedAge = (expectedAge + D.expectedAge)/2; - N.growAmount = (growAmount + D.growAmount)/2 + N.growAmount = (growAmount + D.growAmount)/2; N.reach = (reach + D.reach)/2; N.speed = (speed + D.speed)/2; N.mutationPercent = (mutationPercent + D.mutationPercent)/2; |