forked from mirror/OpenTTD
(svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p.
This commit is contained in:
@@ -1458,7 +1458,7 @@ bool AfterLoadGame(void)
|
||||
if (v->type == VEH_Train) {
|
||||
v->u.rail.track = TRACK_BIT_WORMHOLE;
|
||||
} else {
|
||||
v->u.road.state = 0xFF;
|
||||
v->u.road.state = RVSB_WORMHOLE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user