mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
fix warnings
This commit is contained in:
@@ -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