From 6d1ea9d81fc02fbc481d93af549003db954aa1f7 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sat, 15 Dec 2018 10:56:59 -0600 Subject: [PATCH] Add big ugly hack to fall back jury/seance backgrounds to witness --- courtroom.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/courtroom.cpp b/courtroom.cpp index 9472f79..249cc16 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -2375,12 +2375,14 @@ void Courtroom::set_scene() f_background = "prohelperstand"; f_desk_image = "prohelperdesk"; } - else if (f_side == "jur") + else if (f_side == "jur" && (file_exists(ao_app->get_background_path("jurystand.png")) || + file_exists(ao_app->get_background_path("jurystand.gif")))) { f_background = "jurystand"; f_desk_image = "jurydesk"; } - else if (f_side == "sea") + else if (f_side == "sea" && (file_exists(ao_app->get_background_path("seancestand.png")) || + file_exists(ao_app->get_background_path("seancestand.gif")))) { f_background = "seancestand"; f_desk_image = "seancedesk";