Add "special events" log. Add console command, include in crash logs.

This commit is contained in:
Jonathan G Rennison
2021-10-04 20:54:12 +01:00
parent 2e022d5194
commit 6f16655e6e
8 changed files with 96 additions and 0 deletions

View File

@@ -4031,6 +4031,7 @@ bool AfterLoadGame()
void ReloadNewGRFData()
{
RegisterGameEvents(GEF_RELOAD_NEWGRF);
AppendSpecialEventsLogEntry("NewGRF reload");
RailTypeLabel rail_type_label_map[RAILTYPE_END];
for (RailType rt = RAILTYPE_BEGIN; rt != RAILTYPE_END; rt++) {