1
0
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:
Florian Will
2019-04-15 19:11:30 +02:00
parent 6e9a9448a2
commit 0d3f287447
2 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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);