diff options
author | rubidium <rubidium@openttd.org> | 2007-02-13 22:27:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-13 22:27:27 +0000 |
commit | 154dff98736a2d1cdc30b7c380eebbe88479733a (patch) | |
tree | 685d32ae2e7c4960e0112a9916ef92abe04b4953 /src/vehicle.cpp | |
parent | 86a4b5e1694cb74554cb119bfba65c5f7a6c0c48 (diff) | |
download | openttd-154dff98736a2d1cdc30b7c380eebbe88479733a.tar.xz |
(svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 2ab6c11e1..6e373a971 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2524,7 +2524,7 @@ void VehicleEnterDepot(Vehicle *v) case VEH_Road: InvalidateWindowClasses(WC_ROADVEH_LIST); - v->u.road.state = 254; + v->u.road.state = RVSB_IN_DEPOT; break; case VEH_Ship: |