* Move the station main coordinate somewhere else. * @param new_xy new tile location of the sign */
| 450 | * @param new_xy new tile location of the sign |
| 451 | */ |
| 452 | void Station::MoveSign(TileIndex new_xy) |
| 453 | { |
| 454 | if (this->xy == new_xy) return; |
| 455 | |
| 456 | _station_kdtree.Remove(this->index); |
| 457 | |
| 458 | this->BaseStation::MoveSign(new_xy); |
| 459 | |
| 460 | _station_kdtree.Insert(this->index); |
| 461 | } |
| 462 | |
| 463 | /** Update the virtual coords needed to draw the station sign for all stations. */ |
| 464 | void UpdateAllStationVirtCoords() |
no test coverage detected