diff options
author | madmaxoft <github@xoft.cz> | 2013-10-12 11:27:06 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-12 11:27:06 +0200 |
commit | 4fdb1c1aafcede34bb496bdc8425d300fe619df6 (patch) | |
tree | 59c4e375b5d83f986c166f510b2190119f75e569 /Tools/BiomeVisualiser | |
parent | Fixed second logger constructor. (diff) | |
download | cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar.gz cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar.bz2 cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar.lz cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar.xz cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.tar.zst cuberite-4fdb1c1aafcede34bb496bdc8425d300fe619df6.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/BiomeVisualiser/BiomeVisualiser.cpp | 4 | ||||
-rw-r--r-- | Tools/BiomeVisualiser/BiomeVisualiser.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Tools/BiomeVisualiser/BiomeVisualiser.cpp b/Tools/BiomeVisualiser/BiomeVisualiser.cpp index e1d379f83..a36111d77 100644 --- a/Tools/BiomeVisualiser/BiomeVisualiser.cpp +++ b/Tools/BiomeVisualiser/BiomeVisualiser.cpp @@ -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)))) { } diff --git a/Tools/BiomeVisualiser/BiomeVisualiser.h b/Tools/BiomeVisualiser/BiomeVisualiser.h index 3fa90646b..4f8ce7513 100644 --- a/Tools/BiomeVisualiser/BiomeVisualiser.h +++ b/Tools/BiomeVisualiser/BiomeVisualiser.h @@ -23,7 +23,7 @@ public: protected: cBiomeViewWnd m_MainWnd; - cMCLogger m_Logger; + cMCLogger * m_Logger; } ; |