If game crashes in level, add it to crash report
This commit is contained in:
1 parent
ad8cdc676c
commit
e0b98707cf
1 file changed
+3
@@ -343,6 +343,9 @@ static void write_backtrace(bt_crash_reason_t reason)
|
||||
if (compdate && comptime && comprevision && compbranch)
|
||||
fprintf(out, "Compiled: %s %s, commit %s, branch %s\n", compdate, comptime, comprevision, compbranch);
|
||||
|
||||
if (gamestate == GS_LEVEL)
|
||||
fprintf(out, "Game map: %s\n", G_BuildMapName(gamemap));
|
||||
|
||||
fprintf(out, "Time of crash: %s\n", asctime(timeinfo));
|
||||
|
||||
fprintf(out, "Caused by: ");
|
||||
|
||||
Reference in new issue
Block a user