mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Add version to asserts screen (#158)
* Add version info to asserts * Add gMAXITEMS_READ to arms dealer init assert
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
#endif
|
||||
#include "GameSettings.h"
|
||||
#include "SaveLoadGame.h"
|
||||
#include "Font.h"
|
||||
#include "GameVersion.h"
|
||||
#include "Text.h"
|
||||
|
||||
#include "debug_util.h"
|
||||
|
||||
@@ -408,6 +411,8 @@ void _FailMessage(const char* message, unsigned lineNum, const char * functionNa
|
||||
|
||||
sgp::dumpStackTrace(message);
|
||||
|
||||
mprintf( 10, 10, L"%s: %s %S %s", pMessageStrings[ MSG_VERSION ], zProductLabel, czVersionString, zBuildInformation );
|
||||
|
||||
std::stringstream basicInformation;
|
||||
basicInformation << "Assertion Failure [Line " << lineNum;
|
||||
if (functionName) {
|
||||
|
||||
Reference in New Issue
Block a user