diff options
Diffstat (limited to 'src/script/api')
-rw-r--r-- | src/script/api/script_story_page.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/script_story_page.cpp b/src/script/api/script_story_page.cpp index 87ae0e3fc..c6d4582a5 100644 --- a/src/script/api/script_story_page.cpp +++ b/src/script/api/script_story_page.cpp @@ -95,8 +95,7 @@ story_page_element_id, type == ::SPET_GOAL ? reference : 0, CMD_UPDATE_STORY_PAGE_ELEMENT, - type == ::SPET_TEXT || type == ::SPET_LOCATION ? text->GetEncodedText() : NULL, - &ScriptInstance::DoCommandReturnStoryPageElementID); + type == ::SPET_TEXT || type == ::SPET_LOCATION ? text->GetEncodedText() : NULL); } /* static */ bool ScriptStoryPage::SetTitle(StoryPageID story_page_id, Text *title) |