Changeset 2808 in orxonox.OLD for orxonox/branches/importer/importer/array.cc
- Timestamp:
- Nov 11, 2004, 2:10:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/importer/importer/array.cc
r2807 r2808 13 13 firstEntry->next =NULL; 14 14 currentEntry=firstEntry; 15 entryCount = -1; //0 means one entry15 entryCount = 0; //0 means one entry 16 16 return; 17 17 } … … 24 24 printf ("could not allocate %i data Blocks\n", entryCount); 25 25 Entry* walker = firstEntry; 26 for (int i=0; i< =entryCount; i++)26 for (int i=0; i<entryCount; i++) 27 27 { 28 28 array[i] = walker->value;
Note: See TracChangeset
for help on using the changeset viewer.