Remove unread variable

This commit is contained in:
Ted John 2016-09-04 21:47:05 +01:00
parent 826585c3fc
commit 2cd16a6fe5
2 changed files with 0 additions and 6 deletions

View File

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

View File

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