summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-04-01 14:03:20 +0000
committerfrosch <frosch@openttd.org>2008-04-01 14:03:20 +0000
commit15a9fba867d2849f38b8d46364ad945df690c21d (patch)
tree9a16bca519fc373be161aa0268902383ac926238 /src/roadveh_cmd.cpp
parent9d914a803c0e9d39b8d86427902b0aac4c6d88ce (diff)
downloadopenttd-15a9fba867d2849f38b8d46364ad945df690c21d.tar.xz
(svn r12531) -Codechange: Rename some variables for consistency.
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 2314a9aa1..2311287ad 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -585,9 +585,9 @@ void RoadVehicle::UpdateDeltaXY(Direction direction)
uint32 x = _delta_xy_table[direction];
this->x_offs = GB(x, 0, 8);
this->y_offs = GB(x, 8, 8);
- this->sprite_width = GB(x, 16, 8);
- this->sprite_height = GB(x, 24, 8);
- this->z_height = 6;
+ this->x_extent = GB(x, 16, 8);
+ this->y_extent = GB(x, 24, 8);
+ this->z_extent = 6;
}
static void ClearCrashedStation(Vehicle *v)