Fixes a crash that happens if an invalid StoryPageElementType is passed to ScriptStoryPage::NewElement. Adds an enforced precondition that tests the validity of StoryPageElementType. Adds GSStoryPage::IsValidStoryPageElementType to the API.
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
* \li GSGoal::SetDestination
|
||||
* \li GSIndustry::GetProductionLevel
|
||||
* \li GSIndustry::SetProductionLevel
|
||||
* \li GSStoryPage::IsValidStoryPageElementType
|
||||
*
|
||||
* API removals:
|
||||
* \li GSError::ERR_PRECONDITION_TOO_MANY_PARAMETERS, that error is never returned anymore.
|
||||
|
Reference in New Issue
Block a user