[Scummvm-git-logs] scummvm master -> 0475eac4311f99ae057c092e9897394b57f94aee
mduggan
noreply at scummvm.org
Sun Nov 12 11:48:42 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
0475eac431 ULTIMA: NUVIE: Fix bottom map border in original UI mode
Commit: 0475eac4311f99ae057c092e9897394b57f94aee
https://github.com/scummvm/scummvm/commit/0475eac4311f99ae057c092e9897394b57f94aee
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2023-11-12T22:45:39+11:00
Commit Message:
ULTIMA: NUVIE: Fix bottom map border in original UI mode
Changed paths:
engines/ultima/nuvie/gui/widgets/map_window.cpp
diff --git a/engines/ultima/nuvie/gui/widgets/map_window.cpp b/engines/ultima/nuvie/gui/widgets/map_window.cpp
index a36fdfbf1e5..22efa8660ba 100644
--- a/engines/ultima/nuvie/gui/widgets/map_window.cpp
+++ b/engines/ultima/nuvie/gui/widgets/map_window.cpp
@@ -285,13 +285,13 @@ bool MapWindow::set_windowSize(uint16 width, uint16 height) {
if (game->is_orig_style()) {
clip_rect.left = area.left + 8;
clip_rect.setWidth((win_width - 1) * 16);
- clip_rect.setHeight((win_height - 1) * 16);
- if (game_type == NUVIE_GAME_U6)
+ if (game_type == NUVIE_GAME_U6) {
clip_rect.top = area.top + 8;
- else {
+ clip_rect.setHeight((win_height - 1) * 16);
+ } else {
clip_rect.top = area.top + 16;
- clip_rect.bottom -= 16;
+ clip_rect.setHeight((win_height - 2) * 16);
}
} else {
clip_rect.left = game->get_game_x_offset();
More information about the Scummvm-git-logs
mailing list