diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-01 22:57:08 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-01 22:57:08 +0100 |
commit | b5b920dedaa62302795b0b8f3db84a0650d236e0 (patch) | |
tree | f46d1ec70d6519fff2a75f45c08fe37bf4b5538c /source/main.cpp | |
parent | forogt to update all of cPlayer.cpp for player based gamemode. (diff) | |
download | cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar.gz cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar.bz2 cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar.lz cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar.xz cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.tar.zst cuberite-b5b920dedaa62302795b0b8f3db84a0650d236e0.zip |
Diffstat (limited to '')
-rw-r--r-- | source/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/main.cpp b/source/main.cpp index 011a50f83..1868e30ca 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -26,7 +26,9 @@ int main( int argc, char **argv ) _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif
+#ifndef _DEBUG
std::signal(SIGSEGV, ShowCrashReport);
+#endif
try
{
|