Codechange: use StoryPageID instead of uint16_t

This commit is contained in:
Rubidium
2025-01-20 22:03:49 +01:00
committed by rubidium42
parent 7b091000b0
commit c74e385145
4 changed files with 6 additions and 6 deletions

View File

@@ -136,7 +136,7 @@ struct GoalListWindow : public Window {
CompanyID story_company = StoryPage::Get(s->dst)->company;
if (goal_company == INVALID_COMPANY ? story_company != INVALID_COMPANY : story_company != INVALID_COMPANY && story_company != goal_company) return;
ShowStoryBook((CompanyID)this->window_number, s->dst);
ShowStoryBook(static_cast<CompanyID>(this->window_number), static_cast<StoryPageID>(s->dst));
return;
}