File diff r2424:d2d8551b053a → r2425:5e48f18c7157
train_cmd.c
Show inline comments
 
@@ -1040,13 +1040,13 @@ int32 CmdSellRailWagon(int x, int y, uin
 
						new_f->unitnumber = first->unitnumber;
 
						new_f->current_order = first->current_order;
 
						new_f->cur_order_index = first->cur_order_index;
 
						new_f->orders = first->orders;
 
						new_f->num_orders = first->num_orders;
 
						first->orders = NULL; // XXX - to not to delete the orders */
 
						ShowTrainViewWindow(new_f);
 
						if (IsLocalPlayer()) ShowTrainViewWindow(new_f);
 
					}
 
				}
 
			}
 

	
 
			/* 3. Delete the requested wagon */
 
			cost -= v->value;