aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-04 20:36:11 +0200
committerCerapter <cerap@protonmail.com>2018-09-04 20:36:11 +0200
commitecade0dc13465059c93932fe863aa1e3f1f7e16c (patch)
treed6f96cad5822b7825d4428ebba93ec60ec3447b5
parent0ef34d6354712558dd06e36693bd10009b2ab81d (diff)
Removed the specific check on `hld` in pairs.
Perhaps a better solution may present itself later.
-rw-r--r--courtroom.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index 844de292..7fa25df9 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -1394,8 +1394,7 @@ void Courtroom::handle_chatmessage_2()
// Finally, we reorder them based on who is more to the left.
// The person more to the left is more in the front.
- if (((hor2_offset >= hor_offset) && !(side == "hld")) ||
- ((hor2_offset <= hor_offset) && (side == "hld")))
+ if (hor2_offset >= hor_offset)
{
ui_vp_sideplayer_char->raise();
ui_vp_player_char->raise();