(svn r19257) -Codechange: minor coding style fix

This commit is contained in:
smatz 2010-02-25 21:13:50 +00:00
parent 7ff55502f0
commit ebab6120e6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}