Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 8, 2009, 4:51:27 PM (15 years ago)
Author:
scheusso
Message:

merged network branch (windows,multiplayer fixes) back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Core.cc

    r2727 r2759  
    260260    /*static*/ std::string Core::getMediaPathString()
    261261    {
    262         return mediaPath_g.directory_string() + CP_SLASH;
    263     }
    264     /*static*/ std::string Core::getMediaPathPOSIXString()
    265     {
    266262        return mediaPath_g.string() + '/';
    267 
    268263    }
    269264
     
    274269    /*static*/ std::string Core::getConfigPathString()
    275270    {
    276         return configPath_g.directory_string() + CP_SLASH;
    277     }
    278     /*static*/ std::string Core::getConfigPathPOSIXString()
    279     {
    280271        return configPath_g.string() + '/';
    281272    }
     
    286277    }
    287278    /*static*/ std::string Core::getLogPathString()
    288     {
    289         return logPath_g.directory_string() + CP_SLASH;
    290     }
    291     /*static*/ std::string Core::getLogPathPOSIXString()
    292279    {
    293280        return logPath_g.string() + '/';
     
    456443            {
    457444                ThrowException(General, std::string("The ") + it->second + " directory has been preoccupied by a file! \
    458                                          Please remove " + it->first.file_string());
     445                                         Please remove " + it->first.string());
    459446            }
    460447            if (boost::filesystem::create_directories(it->first)) // function may not return true at all (bug?)
Note: See TracChangeset for help on using the changeset viewer.