Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
May 18, 2005, 11:17:25 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: fix for levelloader, now uses resourceManager::getFullName

File:
1 edited

Legend:

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

    r4167 r4216  
    648648char* ResourceManager::getFullName(const char* fileName)
    649649{
    650   char* retName = new char[strlen(ResourceManager::getInstance()->getDataDir()) + strlen(fileName)+1];
     650  char* retName = new char[strlen(ResourceManager::getInstance()->getDataDir())
     651                           + strlen(fileName) + 1];
    651652  sprintf(retName, "%s%s", ResourceManager::getInstance()->getDataDir(), fileName);
    652653  if (ResourceManager::isFile(retName))
Note: See TracChangeset for help on using the changeset viewer.