From 0c6f22b5c1633a5c502fdf8cb4facb1d4b3d4604 Mon Sep 17 00:00:00 2001 From: zuu Date: Thu, 6 Feb 2014 18:50:25 +0000 Subject: (svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool --- src/script/api/script_story_page.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-54-g00ecf