Compiile fix.

This commit is contained in:
Zuhayr
2014-09-17 00:51:20 +09:30
parent 46f361e907
commit c83c6b652e

View File

@@ -197,7 +197,7 @@
// Other plants also mutate if enough mutagenic compounds have been added. // Other plants also mutate if enough mutagenic compounds have been added.
if(!seed.immutable) if(!seed.immutable)
if(prob(min(mutation_level,100))) if(prob(min(mutation_level,100)))
mutate(random(100) < 25) ? 2 : 1) mutate((rand(100) < 25) ? 2 : 1)
mutation_level = 0 mutation_level = 0
// Maintain tray nutrient and water levels. // Maintain tray nutrient and water levels.