mirror of https://github.com/OpenRCT2/OpenRCT2.git
Remove invalid cast
This commit is contained in:
parent
30b9d3a338
commit
c437f438f1
|
@ -894,7 +894,6 @@ static void window_editor_inventions_list_drag_cursor(rct_window *w, rct_widgeti
|
||||||
if (inventionListWindow != nullptr) {
|
if (inventionListWindow != nullptr) {
|
||||||
rct_research_item *researchItem = get_research_item_at(x, y);
|
rct_research_item *researchItem = get_research_item_at(x, y);
|
||||||
if (researchItem != inventionListWindow->research_item) {
|
if (researchItem != inventionListWindow->research_item) {
|
||||||
inventionListWindow = (rct_window *)researchItem;
|
|
||||||
window_invalidate(inventionListWindow);
|
window_invalidate(inventionListWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue