mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Use more constants
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user