1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Fix incorrect log file name for launcherOgre.log

This commit is contained in:
scrawl 2013-12-03 15:56:00 +01:00
parent 8f4ffe4ddc
commit 3a82f8c193
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ namespace OgreInit
{
// Set up logging first
new Ogre::LogManager;
Ogre::Log *log = Ogre::LogManager::getSingleton().createLog(logPath + std::string("Ogre.log"));
Ogre::Log *log = Ogre::LogManager::getSingleton().createLog(logPath);
// Disable logging to cout/cerr
log->setDebugOutputEnabled(false);

View file

@ -50,7 +50,7 @@ void OgreRenderer::configure(const std::string &logPath,
const std::string& rttMode
)
{
mRoot = mOgreInit.init(logPath);
mRoot = mOgreInit.init(logPath + "/ogre.log");
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
if (rs == 0)