mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Merge pull request #4737 from Broxzier/copy_element
Copy/paste single elements
This commit is contained in:
@@ -113,6 +113,7 @@ void editor_load()
|
||||
mainWindow->flags &= ~WF_SCROLLING_TO_LOCATION;
|
||||
load_palette();
|
||||
gfx_invalidate_screen();
|
||||
window_tile_inspector_clear_clipboard();
|
||||
gScreenAge = 0;
|
||||
|
||||
safe_strcpy(gScenarioName, language_get_string(STR_MY_NEW_SCENARIO), 64);
|
||||
@@ -197,6 +198,7 @@ void trackdesigner_load()
|
||||
mainWindow->flags &= ~WF_SCROLLING_TO_LOCATION;
|
||||
load_palette();
|
||||
gfx_invalidate_screen();
|
||||
window_tile_inspector_clear_clipboard();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -237,6 +239,7 @@ void trackmanager_load()
|
||||
mainWindow->flags &= ~WF_SCROLLING_TO_LOCATION;
|
||||
load_palette();
|
||||
gfx_invalidate_screen();
|
||||
window_tile_inspector_clear_clipboard();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -484,6 +487,7 @@ static void editor_finalise_main_view()
|
||||
gWindowUpdateTicks = 0;
|
||||
load_palette();
|
||||
gfx_invalidate_screen();
|
||||
window_tile_inspector_clear_clipboard();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user