(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
This commit is contained in:
@@ -292,7 +292,7 @@ void Ship::UpdateDeltaXY(Direction direction)
|
||||
this->z_extent = 6;
|
||||
}
|
||||
|
||||
void RecalcShipStuff(Vehicle *v)
|
||||
void RecalcShipStuff(Ship *v)
|
||||
{
|
||||
v->UpdateViewport(false, true);
|
||||
SetWindowDirty(WC_VEHICLE_DEPOT, v->tile);
|
||||
|
Reference in New Issue
Block a user