Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2808 in orxonox.OLD for orxonox/branches/importer/importer/array.cc


Ignore:
Timestamp:
Nov 11, 2004, 2:10:54 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: seg fault error fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/importer/array.cc

    r2807 r2808  
    1313  firstEntry->next =NULL;
    1414  currentEntry=firstEntry;
    15   entryCount = -1; //0 means one entry
     15  entryCount = 0; //0 means one entry
    1616  return;
    1717}
     
    2424    printf ("could not allocate %i data Blocks\n", entryCount);
    2525  Entry* walker = firstEntry;
    26   for (int i=0; i<=entryCount; i++)
     26  for (int i=0; i<entryCount; i++)
    2727    {
    2828      array[i] = walker->value;
Note: See TracChangeset for help on using the changeset viewer.