aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-02-17 15:55:33 +0300
committerCrystalwarrior <varsash@gmail.com>2021-02-17 15:55:33 +0300
commitec6d657f311bb9c46e7df3116bdc8210180a4225 (patch)
tree37135afd6595a2970adb2dc3ea701f4fd14991fa
parent7246965e00e1ffb5b91517aa6d58e17a664d6454 (diff)
rename wtce lookups to `_bubble` (themes need to be updated for this)
-rw-r--r--src/courtroom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index ed70288c..c7bc4562 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3770,13 +3770,13 @@ void Courtroom::handle_wtce(QString p_wtce, int variant)
return;
}
sfx_name = ao_app->get_court_sfx("witness_testimony", bg_misc);
- filename = "witnesstestimony";
+ filename = "witnesstestimony_bubble";
ui_vp_testimony->load_image("testimony", "", bg_misc);
}
// cross examination
else if (p_wtce == "testimony2") {
sfx_name = ao_app->get_court_sfx("cross_examination", bg_misc);
- filename = "crossexamination";
+ filename = "crossexamination_bubble";
ui_vp_testimony->kill();
}
else {
@@ -3786,12 +3786,12 @@ void Courtroom::handle_wtce(QString p_wtce, int variant)
if (p_wtce == "judgeruling") {
if (variant == 0) {
sfx_name = ao_app->get_court_sfx("not_guilty", bg_misc);
- filename = "notguilty";
+ filename = "notguilty_bubble";
ui_vp_testimony->kill();
}
else if (variant == 1) {
sfx_name = ao_app->get_court_sfx("guilty", bg_misc);
- filename = "guilty";
+ filename = "guilty_bubble";
ui_vp_testimony->kill();
}
}