diff src/train_cmd.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 (2008-04-01)
parents e2d4956b7251
children 0a524ed2b87b
line wrap: on
line diff
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -1529,9 +1529,9 @@
 	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)