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
commitfb2ea6c9ed56e0cb9daf9035e760934d5f28a585 (patch)
tree812c49cb0cecc9389ca6d00660746cdf9c4c7f63 /src/vehicle_base.h
parent66e0fcdd01f58c9fbc371299730436841a56d9ea (diff)
downloadopenttd-fb2ea6c9ed56e0cb9daf9035e760934d5f28a585.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;