Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5423 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Oct 22, 2005, 4:26:00 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better check for the Data-Directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/resource_manager.cc

    r5422 r5423  
    5858  this->setName("ResourceManager");
    5959
    60   this->dataDir = NULL;
     60  this->dataDir = new char[3];
     61  strcpy(this->dataDir, "./");
    6162  this->setDataDir("./data");
    6263  this->imageDirs = new tList<char>;
Note: See TracChangeset for help on using the changeset viewer.