Change: only open story-book in center when a GS does it (#11916)

This commit is contained in:
Patric Stout
2024-02-03 08:09:55 +01:00
committed by GitHub
parent 59a046de9c
commit fe4494ec11
3 changed files with 13 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ void ShowGoalsList(CompanyID company);
void ShowGoalQuestion(uint16_t id, byte type, uint32_t button_mask, const std::string &question);
/* story_gui.cpp */
void ShowStoryBook(CompanyID company, uint16_t page_id = INVALID_STORY_PAGE);
void ShowStoryBook(CompanyID company, uint16_t page_id = INVALID_STORY_PAGE, bool centered = false);
/* viewport_gui.cpp */
void ShowExtraViewportWindow(TileIndex tile = INVALID_TILE);