From dcdc7823615a3597a876a1ec0bef1f8849f1f4ad Mon Sep 17 00:00:00 2001 From: Jonathan van Tuijl Date: Tue, 11 Aug 2020 03:35:24 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Increase=20minimum=20window=20size=20so=20p?= =?UTF-8?q?athfind=20history=20doesn=E2=80=99t=20spill=20out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/openrct2-ui/windows/Guest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/Guest.cpp b/src/openrct2-ui/windows/Guest.cpp index fce90870e8..c0ffbe9f7c 100644 --- a/src/openrct2-ui/windows/Guest.cpp +++ b/src/openrct2-ui/windows/Guest.cpp @@ -490,7 +490,7 @@ static constexpr const rct_size16 window_guest_page_sizes[][2] = { { 210, 148, 210, 148 }, // WINDOW_GUEST_FINANCE { 192, 159, 500, 450 }, // WINDOW_GUEST_THOUGHTS { 192, 159, 500, 450 }, // WINDOW_GUEST_INVENTORY - { 192, 159, 192, 171 } // WINDOW_GUEST_DEBUG + { 192, 171, 192, 171 } // WINDOW_GUEST_DEBUG }; // clang-format on From 4117965a4af69d2311d22b271e2a6820a119f231 Mon Sep 17 00:00:00 2001 From: Jonathan van Tuijl Date: Tue, 11 Aug 2020 03:37:34 +0200 Subject: [PATCH 2/2] Fix Z coordinate in guest debug tab --- src/openrct2-ui/windows/Guest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2-ui/windows/Guest.cpp b/src/openrct2-ui/windows/Guest.cpp index c0ffbe9f7c..51d9e876dc 100644 --- a/src/openrct2-ui/windows/Guest.cpp +++ b/src/openrct2-ui/windows/Guest.cpp @@ -2215,7 +2215,7 @@ void window_guest_debug_paint(rct_window* w, rct_drawpixelinfo* dpi) } screenCoords.y += LIST_ROW_HEIGHT; { - int32_t args[] = { peep->x, peep->y, peep->x }; + int32_t args[] = { peep->x, peep->y, peep->z }; gfx_draw_string_left(dpi, STR_PEEP_DEBUG_POSITION, args, 0, screenCoords); } screenCoords.y += LIST_ROW_HEIGHT;