18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 01:32:43 +01:00

Drop what the rebase fix-up c0ebdd5 brought back that the base no longer has

The second "null" renderer branch of select_gfx_backend(), the opaque text displays (Render_text) and the catch of
std::exception in scenarioloader_mode::update(): the base's own code again (std::runtime_error, its own null branch).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BqfRrTiBDaAyQ2gT6ZrnZD
This commit is contained in:
Claude
2026-11-27 12:37:29 +01:00
parent 44eedbbc97
commit 29dcfd3769
4 changed files with 4 additions and 35 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ bool scenarioloader_mode::update() {
}
// the file it can't read, as the parser and the scenery opening report it; invalid_scenery_exception is one of these, and so is
// what the file system throws
catch (std::exception const &e) {
catch (std::runtime_error const &e) {
ErrorLog(std::format("Bad init: scenario \"{}\" couldn't be opened ({})", Global.SceneryFile, e.what()));
state.reset();
if (Global.test.enabled) {