From b31f1f00b2d7432af76df696af70cbf5a9b67d7d Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sun, 22 Jun 2014 18:14:49 +0100 Subject: [PATCH] Fixed guest list groups. There is still a graphical glitch --- src/window_guest_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_guest_list.c b/src/window_guest_list.c index cf69010a32..69be44c2bf 100644 --- a/src/window_guest_list.c +++ b/src/window_guest_list.c @@ -917,7 +917,7 @@ static void window_guest_list_find_groups() // Get and check if in same group // BUG this doesn't work! bx = sub_69B7EA(peep2, &eax); - if ((bx != _window_guest_list_groups_argument_1[groupIndex] || (RCT2_GLOBAL(0x00F1EDF8, uint16) != RCT2_GLOBAL(0x013CE952, uint16)) || _window_guest_list_groups_argument_2[groupIndex] != RCT2_GLOBAL(0x013CE952 + 2, uint32))) + if ((bx != (0xFFFF&_window_guest_list_groups_argument_1[groupIndex]) || (RCT2_GLOBAL(0x00F1EDF8, uint16) != RCT2_GLOBAL(0x013CE952, uint16)) || _window_guest_list_groups_argument_2[groupIndex] != RCT2_GLOBAL(0x013CE952 + 2, uint32))) continue; // Assign guest