mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[Build] 2 i had missed
This commit is contained in:
parent
778052084e
commit
46d6723042
2 changed files with 3 additions and 7 deletions
|
|
@ -33,7 +33,7 @@
|
||||||
#include "AccountMgr.h"
|
#include "AccountMgr.h"
|
||||||
#include "ScriptMgr.h"
|
#include "ScriptMgr.h"
|
||||||
#include "SystemConfig.h"
|
#include "SystemConfig.h"
|
||||||
#include "revision.h"
|
//#include "revision.h"
|
||||||
#include "revision_nr.h"
|
#include "revision_nr.h"
|
||||||
#include "Util.h"
|
#include "Util.h"
|
||||||
|
|
||||||
|
|
@ -102,10 +102,7 @@ bool ChatHandler::HandleServerInfoCommand(char* /*args*/)
|
||||||
std::string str = secsToTimeString(sWorld.GetUptime());
|
std::string str = secsToTimeString(sWorld.GetUptime());
|
||||||
|
|
||||||
char const* full;
|
char const* full;
|
||||||
if (m_session)
|
full = REVISION_NR;
|
||||||
full = MANGOS_FULLVERSION(REVISION_DATE, REVISION_TIME, REVISION_NR, "|cffffffff|Hurl:" REVISION_ID "|h" REVISION_ID "|h|r");
|
|
||||||
else
|
|
||||||
full = MANGOS_FULLVERSION(REVISION_DATE, REVISION_TIME, REVISION_NR, REVISION_ID);
|
|
||||||
SendSysMessage(full);
|
SendSysMessage(full);
|
||||||
|
|
||||||
if (sScriptMgr.IsScriptLibraryLoaded())
|
if (sScriptMgr.IsScriptLibraryLoaded())
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
#define _NO_CVCONST_H
|
#define _NO_CVCONST_H
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#include "WheatyExceptionReport.h"
|
#include "WheatyExceptionReport.h"
|
||||||
#include "revision.h"
|
|
||||||
#include "revision_nr.h"
|
#include "revision_nr.h"
|
||||||
#define CrashFolder _T("Crashes")
|
#define CrashFolder _T("Crashes")
|
||||||
//#pragma comment(linker, "/defaultlib:dbghelp.lib")
|
//#pragma comment(linker, "/defaultlib:dbghelp.lib")
|
||||||
|
|
@ -299,7 +298,7 @@ void WheatyExceptionReport::GenerateExceptionReport(
|
||||||
GetLocalTime(&systime);
|
GetLocalTime(&systime);
|
||||||
|
|
||||||
// Start out with a banner
|
// Start out with a banner
|
||||||
_tprintf(_T("Revision: %s %s %s %s\r\n"), REVISION_DATE, REVISION_TIME, REVISION_NR, REVISION_ID);
|
_tprintf(_T("Revision: %s\r\n"), REVISION_NR);
|
||||||
_tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute);
|
_tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute);
|
||||||
PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord;
|
PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue