mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 10:51:58 -05:00
Change peep news item enum names
This commit is contained in:
parent
ecc51e2f4b
commit
1e9d9c1887
3 changed files with 6 additions and 6 deletions
|
@ -195,7 +195,7 @@ void news_item_get_subject_location(int type, int subject, int *x, int *y, int *
|
|||
*z = edx;
|
||||
}
|
||||
break;
|
||||
case NEWS_ITEM_PEEP_1:
|
||||
case NEWS_ITEM_PEEP_ON_RIDE:
|
||||
sprite = &(RCT2_ADDRESS(RCT2_ADDRESS_SPRITE_LIST, rct_sprite)[subject]);
|
||||
*x = sprite->unknown.x;
|
||||
*y = sprite->unknown.y;
|
||||
|
@ -225,7 +225,7 @@ void news_item_get_subject_location(int type, int subject, int *x, int *y, int *
|
|||
*y = sprite_2->unknown.y;
|
||||
*z = sprite_2->unknown.z;
|
||||
break;
|
||||
case NEWS_ITEM_PEEP_2:
|
||||
case NEWS_ITEM_PEEP:
|
||||
sprite = &(RCT2_ADDRESS(RCT2_ADDRESS_SPRITE_LIST, rct_sprite)[subject]);
|
||||
*x = sprite->unknown.x;
|
||||
*y = sprite->unknown.y;
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
enum {
|
||||
NEWS_ITEM_NULL,
|
||||
NEWS_ITEM_RIDE,
|
||||
NEWS_ITEM_PEEP_1,
|
||||
NEWS_ITEM_PEEP_2,
|
||||
NEWS_ITEM_PEEP_ON_RIDE,
|
||||
NEWS_ITEM_PEEP,
|
||||
NEWS_ITEM_MONEY,
|
||||
NEWS_ITEM_BLANK,
|
||||
NEWS_ITEM_SCENERY,
|
||||
|
|
|
@ -533,8 +533,8 @@ static void window_game_bottom_toolbar_draw_news_item(rct_drawpixelinfo *dpi, rc
|
|||
case NEWS_ITEM_RIDE:
|
||||
gfx_draw_sprite(dpi, SPR_RIDE, x, y);
|
||||
break;
|
||||
case NEWS_ITEM_PEEP_1:
|
||||
case NEWS_ITEM_PEEP_2:
|
||||
case NEWS_ITEM_PEEP_ON_RIDE:
|
||||
case NEWS_ITEM_PEEP:
|
||||
if (newsItem->flags & 1)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue