Mercurial > hg > openttd
diff src/vehicle.cpp @ 8793:27556e5b9388 draft
(svn r12531) -Codechange: Rename some variables for consistency.
author | frosch <frosch@openttd.org> |
---|---|
date | Tue, 01 Apr 2008 14:03:20 +0000 |
parents | e2d4956b7251 |
children | 890a77315801 |
line wrap: on
line diff
--- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -767,7 +767,7 @@ } AddSortableSpriteToDraw(image, pal, v->x_pos + v->x_offs, v->y_pos + v->y_offs, - v->sprite_width, v->sprite_height, v->z_height, v->z_pos, (v->vehstatus & VS_SHADOW) != 0); + v->x_extent, v->y_extent, v->z_extent, v->z_pos, (v->vehstatus & VS_SHADOW) != 0); } void ViewportAddVehicles(DrawPixelInfo *dpi) @@ -3234,9 +3234,9 @@ { this->x_offs = 0; this->y_offs = 0; - this->sprite_width = 1; - this->sprite_height = 1; - this->z_height = 1; + this->x_extent = 1; + this->y_extent = 1; + this->z_extent = 1; } void StopAllVehicles()