summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-12 11:27:06 +0200
committermadmaxoft <github@xoft.cz>2013-10-12 11:27:06 +0200
commit4fdb1c1aafcede34bb496bdc8425d300fe619df6 (patch)
tree59c4e375b5d83f986c166f510b2190119f75e569 /Tools
parentFixed second logger constructor. (diff)
downloadcuberite-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 'Tools')
-rw-r--r--Tools/BiomeVisualiser/BiomeVisualiser.cpp4
-rw-r--r--Tools/BiomeVisualiser/BiomeVisualiser.h2
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;
} ;