1
0

BiomeVisualiser: fixed crash at shutdown caused by bad logging

This commit is contained in:
madmaxoft 2013-10-12 11:27:06 +02:00
parent 420e164ea6
commit 4fdb1c1aaf
2 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ int WINAPI WinMain(HINSTANCE a_Instance, HINSTANCE a_PrevInstance, LPSTR a_CmdLi
cBiomeVisualiser::cBiomeVisualiser(void)
// : m_Logger(Printf("BiomeVisualiser_%08x", time(NULL)))
cBiomeVisualiser::cBiomeVisualiser(void) :
m_Logger(new cMCLogger(Printf("BiomeVisualiser_%08x.log", time(NULL))))
{
}

View File

@ -23,7 +23,7 @@ public:
protected:
cBiomeViewWnd m_MainWnd;
cMCLogger m_Logger;
cMCLogger * m_Logger;
} ;