Remove invalid cast

This commit is contained in:
Hielke Morsink 2018-06-13 12:44:01 +02:00 committed by Aaron van Geffen
parent 30b9d3a338
commit c437f438f1
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}
}