Changeset 973 for cpp/frams/genetics/fB/fB_conv.cpp
- Timestamp:
- 07/03/20 00:37:13 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fB/fB_conv.cpp
r954 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 18Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 80 80 int endoffset = 0; 81 81 if (gene.indexOf("zz", 0) != -1) endoffset = 2; 82 if (gene.len () - endoffset < 3)82 if (gene.length() - endoffset < 3) 83 83 { 84 84 fH_StickHandle *handle = new fH_StickHandle(dims, start, end); … … 124 124 if (gene.indexOf("zz", 0) != -1) endoffset = 2; 125 125 int nclassdefcount = 1; 126 while (z < gene.len () - endoffset)126 while (z < gene.length() - endoffset) 127 127 { 128 128 if (processNextLetter(creature, handle, par, gene, propindex, z, ranges, nclassdefcount) == -1) … … 185 185 } 186 186 nextid++; 187 } 188 while (genotype[nextid] == '"'); 187 } while (genotype[nextid] == '"'); 189 188 i = nextid; 190 189 }
Note: See TracChangeset
for help on using the changeset viewer.