diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -511,7 +511,7 @@ static void ReallyClearObjectTile(Object { Object::DecTypeCount(o->type); for (TileIndex tile_cur : o->location) { - DeleteNewGRFInspectWindow(GSF_OBJECTS, tile_cur); + DeleteNewGRFInspectWindow(GSF_OBJECTS, static_cast(tile_cur)); MakeWaterKeepingClass(tile_cur, GetTileOwner(tile_cur)); }