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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
zuu 11 years ago
parent cf96168f6f
commit 0c6f22b5c1

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

Loading…
Cancel
Save