Changeset - r14668:9a4f7d31f6a2
[Not reviewed]
master
0 1 0
smatz - 14 years ago 2010-02-25 21:13:50
smatz@openttd.org
(svn r19257) -Codechange: minor coding style fix
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -1634,8 +1634,8 @@ static void ReverseTrainSwapVeh(Train *v
 
	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;
 
		}
 

	
0 comments (0 inline, 0 general)