diff options
author | rubidium <rubidium@openttd.org> | 2007-03-08 16:27:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-08 16:27:54 +0000 |
commit | 36cea84b1108db28a7a61fc23e2e2020a64a89dd (patch) | |
tree | e32a4dc6207efbaacc5af4e5c41a353b98b9a897 /src/station.cpp | |
parent | 05eb676f22c73cf870b8abec383985641bd815de (diff) | |
download | openttd-36cea84b1108db28a7a61fc23e2e2020a64a89dd.tar.xz |
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp index f75e2c2e7..6892c37b4 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -48,7 +48,7 @@ Station::Station(TileIndex tile) delete_ctr = 0; facilities = 0; - last_vehicle_type = VEH_Invalid; + last_vehicle_type = VEH_INVALID; random_bits = 0; // Random() must be called when station is really built (DC_EXEC) waiting_triggers = 0; @@ -455,7 +455,7 @@ RoadStop::~RoadStop() Vehicle *v; FOR_ALL_VEHICLES(v) { - if (v->type == VEH_Road && v->u.road.slot == this) ClearSlot(v); + if (v->type == VEH_ROAD && v->u.road.slot == this) ClearSlot(v); } } assert(num_vehicles == 0); |