equal
deleted
inserted
replaced
1996 st->xy = 0; |
1996 st->xy = 0; |
1997 |
1997 |
1998 DeleteName(st->string_id); |
1998 DeleteName(st->string_id); |
1999 MarkStationDirty(st); |
1999 MarkStationDirty(st); |
2000 _station_sort_dirty = true; |
2000 _station_sort_dirty = true; |
|
2001 InvalidateWindowClasses(WC_STATION_LIST); |
2001 |
2002 |
2002 index = st->index; |
2003 index = st->index; |
2003 DeleteWindowById(WC_STATION_VIEW, index); |
2004 DeleteWindowById(WC_STATION_VIEW, index); |
2004 DeleteCommandFromVehicleSchedule((index << 8) + OT_GOTO_STATION); |
2005 DeleteCommandFromVehicleSchedule((index << 8) + OT_GOTO_STATION); |
2005 DeleteSubsidyWithStation(index); |
2006 DeleteSubsidyWithStation(index); |
2401 if (new_player != 255) { |
2402 if (new_player != 255) { |
2402 Station *st = DEREF_STATION(_map2[tile]); |
2403 Station *st = DEREF_STATION(_map2[tile]); |
2403 _map_owner[tile] = new_player; |
2404 _map_owner[tile] = new_player; |
2404 st->owner = new_player; |
2405 st->owner = new_player; |
2405 _station_sort_dirty = true; |
2406 _station_sort_dirty = true; |
|
2407 InvalidateWindowClasses(WC_STATION_LIST); |
2406 } else { |
2408 } else { |
2407 DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |
2409 DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |
2408 } |
2410 } |
2409 } |
2411 } |
2410 |
2412 |