diff options
author | smatz <smatz@openttd.org> | 2010-02-25 21:13:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-25 21:13:50 +0000 |
commit | ebab6120e6010d54f18219d41e7ed7e92906e871 (patch) | |
tree | 111f39301a377069ef42b86d8f097f7346e4e893 | |
parent | 7ff55502f04f9f75b01879ea04518c14d4706046 (diff) | |
download | openttd-ebab6120e6010d54f18219d41e7ed7e92906e871.tar.xz |
(svn r19257) -Codechange: minor coding style fix
-rw-r--r-- | src/train_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 976fe6467..89d661fe2 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1634,8 +1634,8 @@ static void ReverseTrainSwapVeh(Train *v, int l, int r) if (a != b) { /* swap the hidden bits */ { - uint16 tmp = (a->vehstatus & ~VS_HIDDEN) | (b->vehstatus&VS_HIDDEN); - b->vehstatus = (b->vehstatus & ~VS_HIDDEN) | (a->vehstatus&VS_HIDDEN); + uint16 tmp = (a->vehstatus & ~VS_HIDDEN) | (b->vehstatus & VS_HIDDEN); + b->vehstatus = (b->vehstatus & ~VS_HIDDEN) | (a->vehstatus & VS_HIDDEN); a->vehstatus = tmp; } |