mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-13 07:10:57 +00:00
(svn r26298) -Fix: [nogo] Invalid DoCommand return callback for method returning bool
This commit is contained in:
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…
Reference in New Issue
Block a user