mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Add changelog entry, minor code improvements
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- Change: [#7877] Files are now sorted in logical rather than dictionary order.
|
||||
- Change: [#8688] Move common actions from debug menu into cheats menu.
|
||||
- Fix: [#5579] Network desync immediately after connecting.
|
||||
- Fix: [#5893] Looking at guest window tabs other than the main tab eventually causes assertion.
|
||||
- Fix: [#5905] Urban Park merry-go-round has entrance and exit swapped (original bug).
|
||||
- Fix: [#6006] Objects higher than 6 metres are considered trees (original bug).
|
||||
- Fix: [#7884] Unfinished preserved rides can be demolished with quick demolish.
|
||||
|
||||
@@ -1089,8 +1089,6 @@ void window_guest_overview_invalidate(rct_window* w)
|
||||
*/
|
||||
void window_guest_overview_update(rct_window* w)
|
||||
{
|
||||
Peep* peep = GET_PEEP(w->number);
|
||||
|
||||
int32_t var_496 = w->var_496;
|
||||
var_496++;
|
||||
var_496 %= 24;
|
||||
@@ -1099,7 +1097,8 @@ void window_guest_overview_update(rct_window* w)
|
||||
widget_invalidate(w, WIDX_TAB_1);
|
||||
widget_invalidate(w, WIDX_TAB_2);
|
||||
|
||||
if (peep->window_invalidate_flags & PEEP_INVALIDATE_PEEP_ACTION)
|
||||
Peep* peep = GET_PEEP(w->number);
|
||||
if (peep != nullptr && peep->window_invalidate_flags & PEEP_INVALIDATE_PEEP_ACTION)
|
||||
{
|
||||
peep->window_invalidate_flags &= ~PEEP_INVALIDATE_PEEP_ACTION;
|
||||
widget_invalidate(w, WIDX_ACTION_LBL);
|
||||
|
||||
Reference in New Issue
Block a user