diff --git a/src/management/research.c b/src/management/research.c index 580c433fc6..c9c26d43a9 100644 --- a/src/management/research.c +++ b/src/management/research.c @@ -14,7 +14,6 @@ *****************************************************************************/ #pragma endregion -#include "../addresses.h" #include "../config.h" #include "../game.h" #include "../interface/window.h" @@ -218,14 +217,11 @@ void research_finish_item(sint32 entryIndex) } } - // I don't think 0x009AC06C is ever not 0, so probably redundant - if (RCT2_GLOBAL(0x009AC06C, uint8) == 0) { - set_format_arg(0, rct_string_id, ((rideEntry->flags & RIDE_ENTRY_FLAG_SEPARATE_RIDE_NAME)) ? - rideEntry->name : RideNaming[base_ride_type].name); - if (!gSilentResearch) { - if (gConfigNotifications.ride_researched) { - news_item_add_to_queue(NEWS_ITEM_RESEARCH, STR_NEWS_ITEM_RESEARCH_NEW_RIDE_AVAILABLE, entryIndex); - } + set_format_arg(0, rct_string_id, ((rideEntry->flags & RIDE_ENTRY_FLAG_SEPARATE_RIDE_NAME)) ? + rideEntry->name : RideNaming[base_ride_type].name); + if (!gSilentResearch) { + if (gConfigNotifications.ride_researched) { + news_item_add_to_queue(NEWS_ITEM_RESEARCH, STR_NEWS_ITEM_RESEARCH_NEW_RIDE_AVAILABLE, entryIndex); } } @@ -238,13 +234,10 @@ void research_finish_item(sint32 entryIndex) gResearchedSceneryItems[subSceneryEntryIndex >> 5] |= 1UL << (subSceneryEntryIndex & 0x1F); } - // I don't think 0x009AC06C is ever not 0, so probably redundant - if (RCT2_GLOBAL(0x009AC06C, uint8) == 0) { - set_format_arg(0, rct_string_id, scenerySetEntry->name); - if (!gSilentResearch) { - if (gConfigNotifications.ride_researched) { - news_item_add_to_queue(NEWS_ITEM_RESEARCH, STR_NEWS_ITEM_RESEARCH_NEW_SCENERY_SET_AVAILABLE, entryIndex); - } + set_format_arg(0, rct_string_id, scenerySetEntry->name); + if (!gSilentResearch) { + if (gConfigNotifications.ride_researched) { + news_item_add_to_queue(NEWS_ITEM_RESEARCH, STR_NEWS_ITEM_RESEARCH_NEW_SCENERY_SET_AVAILABLE, entryIndex); } }