mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
(svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8
This commit is contained in:
@@ -1787,7 +1787,10 @@ static void ReverseTrainDirection(Vehicle *v)
|
||||
}
|
||||
|
||||
/* update all images */
|
||||
for (Vehicle *u = v; u != NULL; u = u->Next()) { u->cur_image = u->GetImage(u->direction); }
|
||||
for (Vehicle *u = v; u != NULL; u = u->Next()) {
|
||||
ToggleBit(u->u.rail.flags, VRF_TOGGLE_REVERSE);
|
||||
u->cur_image = u->GetImage(u->direction);
|
||||
}
|
||||
|
||||
ClrBit(v->u.rail.flags, VRF_REVERSING);
|
||||
|
||||
|
Reference in New Issue
Block a user