Changeset 935 for cpp/frams/genetics/fL
- Timestamp:
- 05/29/20 15:20:29 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fL/fL_oper.cpp
r896 r935 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 19Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 141 141 { 142 142 SString det; 143 NeuroClass *cls = getRandomNeuroClass( );143 NeuroClass *cls = getRandomNeuroClass(Model::SHAPE_BALL_AND_STICK); 144 144 det = cls->getName(); 145 145 Geno_fH::mutateNeuronProperties(det); … … 201 201 return creature->words["S"]; 202 202 case FL_ADD_NEURO: 203 if (getActiveNeuroClassCount( ) == 0)203 if (getActiveNeuroClassCount(Model::SHAPE_BALL_AND_STICK) == 0) 204 204 return creature->words["S"]; 205 205 else
Note: See TracChangeset
for help on using the changeset viewer.