mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
Log error message to console in LoadWithFilter exception handler
See: #412
This commit is contained in:
parent
1d08572cfa
commit
22a1fdff5e
@ -3583,6 +3583,10 @@ SaveOrLoadResult LoadWithFilter(LoadFilter *reader)
|
||||
return DoLoad(reader, false);
|
||||
} catch (...) {
|
||||
ClearSaveLoadState();
|
||||
|
||||
/* Skip the "colour" character */
|
||||
DEBUG(sl, 0, "%s", GetSaveLoadErrorString() + 3);
|
||||
|
||||
return SL_REINIT;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user