| 1659 | } |
| 1660 | |
| 1661 | bool RoadVehicle::Tick() |
| 1662 | { |
| 1663 | PerformanceAccumulator framerate(PFE_GL_ROADVEHS); |
| 1664 | |
| 1665 | this->tick_counter++; |
| 1666 | |
| 1667 | if (this->IsFrontEngine()) { |
| 1668 | if (!this->vehstatus.Test(VehState::Stopped)) this->running_ticks++; |
| 1669 | return RoadVehController(this); |
| 1670 | } |
| 1671 | |
| 1672 | return true; |
| 1673 | } |
| 1674 | |
| 1675 | void RoadVehicle::SetDestTile(TileIndex tile) |
| 1676 | { |
nothing calls this directly
no test coverage detected