aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorin1tiate <32779090+in1tiate@users.noreply.github.com>2024-05-20 12:46:35 -0500
committerin1tiate <32779090+in1tiate@users.noreply.github.com>2024-05-20 12:46:35 -0500
commit137a2d3a04bb0381d1923b1a9530d1cdd9872e88 (patch)
tree1973835b4b6c17ccab78d13dc13350a46f7de17e /src/courtroom.cpp
parent2c696f2cd1c8ecb806f12d0224d5e8beceb973cd (diff)
speedline thing
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 15fc62ed..b5f62f5a 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3453,7 +3453,7 @@ void Courtroom::handle_ic_speaking()
// Obtain character information for our character
QString filename;
// I still hate this hardcoding. If we're on pos pro, hlp and wit, use prosecution_speedlines. Otherwise, defense_speedlines.
- if (side == "pro" || side == "hlp" || side == "wit")
+ if (side.startsWith("pro") || side == "hlp" || side.startsWith("wit"))
{
filename = "prosecution_speedlines";
}