Changeset - r27560:0fb97a3b3349
[Not reviewed]
master
0 1 0
merni-ns - 15 months ago 2023-06-09 15:09:36
66267867+merni-ns@users.noreply.github.com
Fix #10975: Clear a non-head engine's name (#10976)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/train_cmd.cpp
Show inline comments
 
@@ -1327,6 +1327,7 @@ CommandCost CmdMoveRailVehicle(DoCommand
 
			/* Remove stuff not valid anymore for non-front engines. */
 
			DeleteVehicleOrders(src);
 
			src->unitnumber = 0;
 
			src->name.clear();
 
		}
 

	
 
		/* We weren't a front engine but are becoming one. So
0 comments (0 inline, 0 general)