(svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool

This commit is contained in:
zuu
2014-02-06 18:50:25 +00:00
parent a953ec79be
commit 33bcc9d24a

View File

@@ -95,8 +95,7 @@
story_page_element_id, story_page_element_id,
type == ::SPET_GOAL ? reference : 0, type == ::SPET_GOAL ? reference : 0,
CMD_UPDATE_STORY_PAGE_ELEMENT, CMD_UPDATE_STORY_PAGE_ELEMENT,
type == ::SPET_TEXT || type == ::SPET_LOCATION ? text->GetEncodedText() : NULL, type == ::SPET_TEXT || type == ::SPET_LOCATION ? text->GetEncodedText() : NULL);
&ScriptInstance::DoCommandReturnStoryPageElementID);
} }
/* static */ bool ScriptStoryPage::SetTitle(StoryPageID story_page_id, Text *title) /* static */ bool ScriptStoryPage::SetTitle(StoryPageID story_page_id, Text *title)