mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove unread variable
This commit is contained in:
parent
826585c3fc
commit
2cd16a6fe5
|
@ -11525,8 +11525,6 @@ static int peep_compare(const void *sprite_index_a, const void *sprite_index_b)
|
|||
*/
|
||||
void peep_update_name_sort(rct_peep *peep)
|
||||
{
|
||||
RCT2_GLOBAL(0x009C383C, uint8) = 49;
|
||||
|
||||
// Remove peep from sprite list
|
||||
uint16 nextSpriteIndex = peep->next;
|
||||
uint16 prevSpriteIndex = peep->previous;
|
||||
|
@ -11579,8 +11577,6 @@ void peep_update_name_sort(rct_peep *peep)
|
|||
peep->previous = SPRITE_INDEX_NULL;
|
||||
|
||||
finish_peep_sort:
|
||||
RCT2_GLOBAL(0x009C383C, uint8) = 48;
|
||||
|
||||
// This is required at the moment because this function reorders peeps in the sprite list
|
||||
openrct2_reset_object_tween_locations();
|
||||
}
|
||||
|
|
|
@ -134,11 +134,9 @@ static void window_about_paint(rct_window *w, rct_drawpixelinfo *dpi)
|
|||
y = w->y + 17;
|
||||
|
||||
// Version
|
||||
RCT2_GLOBAL(0x009C383C, uint8) = 49;
|
||||
gfx_draw_string_centred(dpi, STR_VERSION_X, x, y, 0, RCT2_ADDRESS(0x009E2D28, void));
|
||||
|
||||
// Credits
|
||||
RCT2_GLOBAL(0x009C383C, uint8) = 48;
|
||||
y += 10;
|
||||
gfx_draw_string_centred(dpi, STR_COPYRIGHT_CS, x, y, 0, RCT2_ADDRESS(0x009E2D28, void));
|
||||
y += 79;
|
||||
|
|
Loading…
Reference in New Issue