mirror of https://github.com/OpenRCT2/OpenRCT2.git
is_peep_in_filter updated to use decompiled func
Has not been tested. Considering redoing all of these functions removing hard to understand variables.
This commit is contained in:
parent
cf062b789e
commit
78845ca165
|
@ -802,15 +802,13 @@ static void window_guest_list_scrollpaint()
|
||||||
*/
|
*/
|
||||||
static int window_guest_list_is_peep_in_filter(rct_peep* peep)
|
static int window_guest_list_is_peep_in_filter(rct_peep* peep)
|
||||||
{
|
{
|
||||||
int eax, ebx, ecx, edx, esi, edi, ebp;
|
int eax, ebx;
|
||||||
char temp;
|
char temp;
|
||||||
|
|
||||||
temp = _window_guest_list_selected_view;
|
temp = _window_guest_list_selected_view;
|
||||||
_window_guest_list_selected_view = _window_guest_list_selected_filter;
|
_window_guest_list_selected_view = _window_guest_list_selected_filter;
|
||||||
|
|
||||||
esi = (int)peep;
|
ebx = sub_69B7EA(peep, &eax);
|
||||||
RCT2_CALLFUNC_X(0x0069B7EA, &eax, &ebx, &ecx, &edx, &esi, &edi, &ebp);
|
|
||||||
ebx &= 0xFFFF;
|
|
||||||
|
|
||||||
_window_guest_list_selected_view = temp;
|
_window_guest_list_selected_view = temp;
|
||||||
eax = (RCT2_GLOBAL(0x013CE952, uint16) << 16) | ebx;
|
eax = (RCT2_GLOBAL(0x013CE952, uint16) << 16) | ebx;
|
||||||
|
|
Loading…
Reference in New Issue