Changeset 803 for cpp/frams/genetics/fL/fL_oper.cpp
- Timestamp:
- 06/07/18 17:42:49 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified cpp/frams/genetics/fL/fL_oper.cpp ¶
r797 r803 142 142 SString det; 143 143 NeuroClass *cls = getRandomNeuroClass(); 144 if (!cls) cls = Neuro::getClass("N");144 //we do not check if this class 145 145 det = cls->getName(); 146 146 Geno_fH::mutateNeuronProperties(det); … … 202 202 return creature->words["S"]; 203 203 case FL_ADD_NEURO: 204 return creature->words["N"]; 204 if (getActiveNeuroClassCount() == 0) 205 return creature->words["S"]; 206 else 207 return creature->words["N"]; 205 208 case FL_ADD_CONN: 206 209 return creature->words["C"];
Note: See TracChangeset
for help on using the changeset viewer.