Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
warlocksgauntlet
toxic.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File toxic.patch of Package warlocksgauntlet
--- src/Map/CMapManager.cpp.orig 2012-03-08 19:37:30.000000000 +0300 +++ src/Map/CMapManager.cpp 2012-03-28 19:03:19.000000000 +0300 @@ -47,8 +47,13 @@ mWorldGraph = new CWorldGraph(); mWorldGraph->LoadFromFile("data/maps/world-graph.xml"); - if (!boost::filesystem::exists(mWorld)) - boost::filesystem::create_directories(mWorld); + if (!boost::filesystem::exists(mWorld)) { + try { + boost::filesystem::create_directories(mWorld); + } catch (const std::exception & e) { + fprintf(stderr, "ERROR: failed to create %s directories, what: %s\n", mWorld.c_str(), e.what()); + } + } } CMapManager::~CMapManager()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor