Skip to content
Permalink
Browse files

Tell players where the log file actually is.

Should make it easier for Linux users to find out where their particular distro expects the data files to be.
  • Loading branch information
SupSuper committed Aug 9, 2018
1 parent b1b880f commit 5105bcecbc4a07eb08e1ed0896f63094ae730250
Showing with 4 additions and 3 deletions.
  1. +1 −1 src/Engine/CrossPlatform.cpp
  2. +3 −2 src/Menu/StartState.cpp
@@ -1097,7 +1097,7 @@ void crashDump(void *ex, const std::string &err)
#endif
std::ostringstream msg;
msg << "OpenXcom has crashed: " << error.str() << std::endl;
msg << "Extra information has been saved to openxcom.log." << std::endl;
msg << "For more details see: " << Logger::logFile() << std::endl;
msg << "If this error was unexpected, please report it to the developers.";
showError(msg.str());
}
@@ -157,8 +157,9 @@ void StartState::think()
CrossPlatform::flashWindow();
addLine(L"");
addLine(L"ERROR: " + Language::utf8ToWstr(error));
addLine(L"Make sure you installed OpenXcom correctly.");
addLine(L"Check the wiki documentation for more details.");
addLine(L"");
addLine(L"Make sure OpenXcom and any mods are installed correctly.");
addLine(L"For more details see: " + Language::utf8ToWstr(Logger::logFile()));
addLine(L"");
addLine(L"Press any key to continue.");
loading = LOADING_DONE;

0 comments on commit 5105bce

Please sign in to comment.
You can’t perform that action at this time.