X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2Fmain.cpp;h=e0bf4309188959db1be8b8f52e1946faeaa20e0e;hb=3e35667d102382398aa701a883f1fd951eed0ee3;hp=4ff4ebc29d788e0063ef18e70bbe2b0e1b44686b;hpb=49aefa6106fcaeca415161b83239be4152d79270;p=lugaru.git diff --git a/Source/main.cpp b/Source/main.cpp index 4ff4ebc..e0bf430 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -626,7 +626,7 @@ int main(int argc, char **argv) LOGFUNC; - try { + //~ try { { newGame(); @@ -677,16 +677,16 @@ int main(int argc, char **argv) CleanUp (); return 0; - } catch (const std::exception& error) { - CleanUp(); + //~ } catch (const std::exception& error) { + //~ CleanUp(); - std::string e = "Caught exception: "; - e += error.what(); + //~ std::string e = "Caught exception: "; + //~ e += error.what(); - LOG(e); + //~ LOG(e); - SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Exception catched", error.what(), NULL); + //~ SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Exception catched", error.what(), NULL); - return -1; - } + //~ return -1; + //~ } }