(svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p.

This commit is contained in:
rubidium
2007-02-13 22:27:27 +00:00
parent 86a4b5e169
commit 154dff9873
6 changed files with 82 additions and 38 deletions

View File

@@ -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: