* Update the position of the vehicle, and update the viewport. */
| 1743 | * Update the position of the vehicle, and update the viewport. |
| 1744 | */ |
| 1745 | void Vehicle::UpdatePositionAndViewport() |
| 1746 | { |
| 1747 | if (this->type != VEH_EFFECT) this->UpdatePosition(); |
| 1748 | this->UpdateViewport(true); |
| 1749 | } |
| 1750 | |
| 1751 | /** |
| 1752 | * Marks viewports dirty where the vehicle's image is. |
no test coverage detected