mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 15:54:31 +01:00
Remove invalid cast
This commit is contained in:
committed by
Aaron van Geffen
parent
30b9d3a338
commit
c437f438f1
@@ -894,7 +894,6 @@ static void window_editor_inventions_list_drag_cursor(rct_window *w, rct_widgeti
|
||||
if (inventionListWindow != nullptr) {
|
||||
rct_research_item *researchItem = get_research_item_at(x, y);
|
||||
if (researchItem != inventionListWindow->research_item) {
|
||||
inventionListWindow = (rct_window *)researchItem;
|
||||
window_invalidate(inventionListWindow);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user