Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2808 in orxonox.OLD


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

orxonox/branches/importer: seg fault error fixed.

Location:
orxonox/branches/importer/importer
Files:
2 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;
  • orxonox/branches/importer/importer/framework.cc

    r2807 r2808  
    22#include "object.h"
    33
    4 int verbose = 4;
     4int verbose = 1;
    55WindowHandler wHandler;  // Create an instance of the whandler basecode class
    66Object* obj;
Note: See TracChangeset for help on using the changeset viewer.