Use more constants

This commit is contained in:
Michael Steenbeek 2017-09-29 10:06:05 +02:00
parent 43e1e711b7
commit eea40edf0a
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ void news_item_open_subject(sint32 type, sint32 subject)
context_open_window(WC_FINANCES);
break;
case NEWS_ITEM_RESEARCH:
if (subject >= 0x10000) {
if (subject >= RESEARCH_ENTRY_RIDE_MASK) {
// Open ride list window
window_new_ride_open();

View File

@ -113,7 +113,7 @@ typedef struct rct_s6_data {
// SC6[6]
uint32 next_free_map_element_pointer_index;
rct_sprite sprites[10000];
rct_sprite sprites[RCT2_MAX_SPRITES];
uint16 sprite_lists_head[6];
uint16 sprite_lists_count[6];
rct_string_id park_name;