mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 17:39:09 +00:00
(svn r19257) -Codechange: minor coding style fix
This commit is contained in:
@@ -1634,8 +1634,8 @@ static void ReverseTrainSwapVeh(Train *v, int l, int r)
|
|||||||
if (a != b) {
|
if (a != b) {
|
||||||
/* swap the hidden bits */
|
/* swap the hidden bits */
|
||||||
{
|
{
|
||||||
uint16 tmp = (a->vehstatus & ~VS_HIDDEN) | (b->vehstatus&VS_HIDDEN);
|
uint16 tmp = (a->vehstatus & ~VS_HIDDEN) | (b->vehstatus & VS_HIDDEN);
|
||||||
b->vehstatus = (b->vehstatus & ~VS_HIDDEN) | (a->vehstatus&VS_HIDDEN);
|
b->vehstatus = (b->vehstatus & ~VS_HIDDEN) | (a->vehstatus & VS_HIDDEN);
|
||||||
a->vehstatus = tmp;
|
a->vehstatus = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user