forked from rosebudai/OpenRCT2-Web
fix warnings
This commit is contained in:
1 parent
19d3529028
commit
d45cf519e3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -720,7 +720,7 @@ bool title_refresh_sequence()
|
||||
if (_loadedScript != _magicMountainScript)
|
||||
SafeFree(_loadedScript);
|
||||
_scriptCurrentPreset = 0;
|
||||
_loadedScript = _magicMountainScript;
|
||||
_loadedScript = (uint8*)_magicMountainScript;
|
||||
_currentScript = _magicMountainScript;
|
||||
_scriptWaitCounter = 0;
|
||||
gTitleScriptCommand = -1;
|
||||
|
||||
@@ -319,7 +319,7 @@ static void window_title_editor_mouseup()
|
||||
case WIDX_TITLE_EDITOR_NEW_BUTTON:
|
||||
commandEditorOpen *= 2;
|
||||
if (!commandEditorOpen)
|
||||
window_text_input_open(w, widgetIndex, 5239, 5406, STR_NONE, NULL, 64);
|
||||
window_text_input_open(w, widgetIndex, 5239, 5406, STR_NONE, 0, 64);
|
||||
break;
|
||||
case WIDX_TITLE_EDITOR_DUPLICATE_BUTTON:
|
||||
commandEditorOpen *= 2;
|
||||
|
||||
Reference in new issue
Block a user