(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 cf96168f6f
commit 0c6f22b5c1

View File

@ -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)