diff options
author | frosch <frosch@openttd.org> | 2008-04-01 14:03:20 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-04-01 14:03:20 +0000 |
commit | 51155403a4ae3e9dc4252ff8d155e335092a1e44 (patch) | |
tree | 9a16bca519fc373be161aa0268902383ac926238 /src/roadveh_cmd.cpp | |
parent | b93a612dfdc7e771ac11148b09262cbd12b9576c (diff) | |
download | openttd-51155403a4ae3e9dc4252ff8d155e335092a1e44.tar.xz |
(svn r12531) -Codechange: Rename some variables for consistency.
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r-- | src/roadveh_cmd.cpp | 6 |
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) |