equal
deleted
inserted
replaced
658 * bit 5: Whether the rail vehicle is powered or not (mostly useful for wagons). |
658 * bit 5: Whether the rail vehicle is powered or not (mostly useful for wagons). |
659 * bit 6: This is an electrically powered rail vehicle which is running on normal rail. |
659 * bit 6: This is an electrically powered rail vehicle which is running on normal rail. |
660 * bit 8: (Maybe?) Toggled whenever the train reverses. |
660 * bit 8: (Maybe?) Toggled whenever the train reverses. |
661 */ |
661 */ |
662 |
662 |
663 if (HasBit(v->vehicle_flags, VF_BUILT_AS_PROTOTYPE)) SETBIT(modflags, 10); |
663 if (HasBit(v->vehicle_flags, VF_BUILT_AS_PROTOTYPE)) SetBit(modflags, 10); |
664 |
664 |
665 return variable == 0xFE ? modflags : GB(modflags, 8, 8); |
665 return variable == 0xFE ? modflags : GB(modflags, 8, 8); |
666 } |
666 } |
667 } |
667 } |
668 |
668 |