Changeset 8812 for code/branches/output/src/Orxonox.cc
- Timestamp:
- Aug 1, 2011, 8:42:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/Orxonox.cc
r8788 r8812 59 59 #endif 60 60 { 61 using namespace orxonox; 62 61 63 try 62 64 { … … 70 72 const int firstArgument = 1; 71 73 #endif 72 74 73 75 std::string strCmdLine; 74 76 for (int i = firstArgument; i < argc; ++i) … … 76 78 #endif 77 79 78 return orxonox::main(strCmdLine);80 return main(strCmdLine); 79 81 } 80 82 catch (...) 81 83 { 82 COUT(0) << "Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << std::endl;83 COUT(0) << "Terminating program." << std::endl;84 orxout(user_error) << "Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << endl; 85 orxout(user_error) << "Terminating program." << endl; 84 86 return 1; 85 87 }
Note: See TracChangeset
for help on using the changeset viewer.