mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
@@ -627,7 +627,7 @@ void window_guest_overview_mouse_up(){
|
||||
sprite_move(0x8000, peep->y, peep->z, (rct_sprite*)peep);
|
||||
peep_decrement_num_riders(peep);
|
||||
peep->state = PEEP_STATE_PICKED;
|
||||
peep->var_2C = 0;
|
||||
peep->sub_state = 0;
|
||||
peep_window_state_update(peep);
|
||||
break;
|
||||
case WIDX_RENAME:
|
||||
|
||||
@@ -5725,7 +5725,7 @@ static void window_ride_customer_paint()
|
||||
y += 10;
|
||||
|
||||
// Popularity
|
||||
popularity = ride->var_158 & 0xFF;
|
||||
popularity = ride->popularity;
|
||||
if (popularity == 255) {
|
||||
stringId = STR_POPULARITY_UNKNOWN;
|
||||
} else {
|
||||
@@ -5736,7 +5736,7 @@ static void window_ride_customer_paint()
|
||||
y += 10;
|
||||
|
||||
// Satisfaction
|
||||
satisfaction = ride->var_14A & 0xFF;
|
||||
satisfaction = ride->satisfaction;
|
||||
if (satisfaction == 255) {
|
||||
stringId = STR_SATISFACTION_UNKNOWN;
|
||||
} else {
|
||||
|
||||
@@ -471,16 +471,16 @@ static void window_ride_list_scrollpaint()
|
||||
break;
|
||||
case INFORMATION_TYPE_POPULARITY:
|
||||
formatSecondary = STR_POPULARITY_UNKNOWN_LABEL;
|
||||
if ((ride->var_158 & 0xFF) != 255) {
|
||||
if (ride->popularity != 255) {
|
||||
formatSecondary = STR_POPULARITY_LABEL;
|
||||
RCT2_GLOBAL(0x013CE952 + 2, uint16) = (ride->var_158 & 0xFF) * 4;
|
||||
RCT2_GLOBAL(0x013CE952 + 2, uint16) = ride->popularity * 4;
|
||||
}
|
||||
break;
|
||||
case INFORMATION_TYPE_SATISFACTION:
|
||||
formatSecondary = STR_SATISFACTION_UNKNOWN_LABEL;
|
||||
if ((ride->var_14A & 0xFF) != 255) {
|
||||
if (ride->satisfaction != 255) {
|
||||
formatSecondary = STR_SATISFACTION_LABEL;
|
||||
RCT2_GLOBAL(0x013CE952 + 2, uint16) = (ride->var_14A & 0xFF) * 5;
|
||||
RCT2_GLOBAL(0x013CE952 + 2, uint16) = ride->satisfaction * 5;
|
||||
}
|
||||
break;
|
||||
case INFORMATION_TYPE_PROFIT:
|
||||
@@ -616,7 +616,7 @@ static void window_ride_list_refresh_list(rct_window *w)
|
||||
case INFORMATION_TYPE_POPULARITY:
|
||||
while (--current_list_position >= 0) {
|
||||
otherRide = &g_ride_list[w->list_item_positions[current_list_position]];
|
||||
if ((ride->var_158 & 0xFF) * 4 <= (otherRide->var_158 & 0xFF) * 4)
|
||||
if (ride->popularity * 4 <= otherRide->popularity * 4)
|
||||
break;
|
||||
|
||||
window_bubble_list_item(w, current_list_position);
|
||||
@@ -625,7 +625,7 @@ static void window_ride_list_refresh_list(rct_window *w)
|
||||
case INFORMATION_TYPE_SATISFACTION:
|
||||
while (--current_list_position >= 0) {
|
||||
otherRide = &g_ride_list[w->list_item_positions[current_list_position]];
|
||||
if ((ride->var_14A & 0xFF) * 5 <= (otherRide->var_14A & 0xFF) * 5)
|
||||
if (ride->satisfaction * 5 <= otherRide->satisfaction * 5)
|
||||
break;
|
||||
|
||||
window_bubble_list_item(w, current_list_position);
|
||||
|
||||
Reference in New Issue
Block a user