Changeset - r21211:0f503527473a
[Not reviewed]
master
0 1 0
zuu - 11 years ago 2014-02-06 18:50:25
zuu@openttd.org
(svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_story_page.cpp
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)