diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-07 10:02:35 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-07 10:02:35 +0200 |
| commit | b33d0b0a3c9311fc43d5d00d56d7b6c8d706adcd (patch) | |
| tree | 179628fac649120d47cf92cadec6efed00498b17 | |
| parent | a08b254077288232058af09de9bac86f6a6865de (diff) | |
Lowered the prosecutor / defence characters, so they don't float above some desks.
| -rw-r--r-- | courtroom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index dd6c1601..7c6b7fb1 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1374,7 +1374,7 @@ void Courtroom::handle_chatmessage_2() int vert_offset = 0; if (hor_offset > 0) { - vert_offset = hor_offset / 20; + vert_offset = hor_offset / 10; } ui_vp_player_char->move(ui_viewport->width() * hor_offset / 100, ui_viewport->height() * vert_offset / 100); @@ -1383,7 +1383,7 @@ void Courtroom::handle_chatmessage_2() int vert2_offset = 0; if (hor2_offset > 0) { - vert2_offset = hor2_offset / 20; + vert2_offset = hor2_offset / 10; } ui_vp_sideplayer_char->move(ui_viewport->width() * hor2_offset / 100, ui_viewport->height() * vert2_offset / 100); @@ -1410,7 +1410,7 @@ void Courtroom::handle_chatmessage_2() if (hor_offset < 0) { // We don't want to RAISE the char off the floor. - vert_offset = -1 * hor_offset / 20; + vert_offset = -1 * hor_offset / 10; } ui_vp_player_char->move(ui_viewport->width() * hor_offset / 100, ui_viewport->height() * vert_offset / 100); @@ -1419,7 +1419,7 @@ void Courtroom::handle_chatmessage_2() int vert2_offset = 0; if (hor2_offset < 0) { - vert2_offset = -1 * hor2_offset / 20; + vert2_offset = -1 * hor2_offset / 10; } ui_vp_sideplayer_char->move(ui_viewport->width() * hor2_offset / 100, ui_viewport->height() * vert2_offset / 100); |
