From 51155403a4ae3e9dc4252ff8d155e335092a1e44 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 1 Apr 2008 14:03:20 +0000 Subject: (svn r12531) -Codechange: Rename some variables for consistency. --- src/train_cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 826861fe4..8bd5c2d8a 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1529,9 +1529,9 @@ void Train::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 UpdateVarsAfterSwap(Vehicle *v) -- cgit v1.2.3-54-g00ecf