(svn r3947) use TOGGLEBIT() instead of manual bit toggling in CmdReverseTrainDirection (pointed out by glx)
--- a/train_cmd.c Sat Mar 18 13:20:50 2006 +0000
+++ b/train_cmd.c Sat Mar 18 14:35:54 2006 +0000
@@ -1609,7 +1609,7 @@
}
if (flags & DC_EXEC) {
- v->u.rail.flags ^= 1 << VRF_REVERSE_DIRECTION;
+ TOGGLEBIT(v->u.rail.flags, VRF_REVERSE_DIRECTION);
}
} else {
//turn the whole train around