Skip to content

Commit

Permalink
Update courtroom.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoru-1816 authored Jan 13, 2025
1 parent 2af22ef commit 97fac4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/courtroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3121,7 +3121,7 @@ void Courtroom::handle_ic_message()
if (is_objection)
text_queue_timer->start(objection_threshold);
}
last_x_offset = char_offset;
last_x_offset = char_offset;
}

void Courtroom::do_screenshake()
Expand Down Expand Up @@ -4193,12 +4193,12 @@ void Courtroom::start_chat_ticking()
// Display the evidence
display_evidence_image();

if (last_x_offset == char_offset) {
if (last_x_offset == char_offset)
this->do_character_bounce();
} else {
this->do_character_slide(ui_vp_player_char);
}

if (char_offset != last_x_offset)
this->do_character_slide(ui_vp_player_char);

// handle expanded desk mods
switch(m_chatmessage[DESK_MOD].toInt()) {
case DESK_EMOTE_ONLY_EX:
Expand Down

0 comments on commit 97fac4a

Please sign in to comment.