summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-11 17:26:58 +0000
committerrubidium <rubidium@openttd.org>2009-03-11 17:26:58 +0000
commit9d0c77b12368a0789a381b845ab0611271650a7a (patch)
tree812c49cb0cecc9389ca6d00660746cdf9c4c7f63 /src/vehicle_base.h
parent77a1323eef8c057bf7043770db5c8f98d58e3388 (diff)
downloadopenttd-9d0c77b12368a0789a381b845ab0611271650a7a.tar.xz
(svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index b4ae0be97..9a224d2de 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -231,10 +231,7 @@ public:
/* Boundaries for the current position in the world and a next hash link.
* NOSAVE: All of those can be updated with VehiclePositionChanged() */
- int32 left_coord;
- int32 top_coord;
- int32 right_coord;
- int32 bottom_coord;
+ Rect coord;
Vehicle *next_hash;
Vehicle *next_new_hash;
Vehicle **old_new_hash;