summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authorCelestar <celestar@openttd.org>2004-12-08 15:26:57 +0000
committerCelestar <celestar@openttd.org>2004-12-08 15:26:57 +0000
commit6fd3fc10e347695b28c8b3d1e0074b5456cd8100 (patch)
tree98602eb5f4d3563f2c7af9080465d5bd94904fe8 /train_gui.c
parent547a2d1f9ff267bec683eae211a4b1070afd27f4 (diff)
downloadopenttd-6fd3fc10e347695b28c8b3d1e0074b5456cd8100.tar.xz
(svn r978) Fixed an endianess issue with the new Order system. Thanks to Bjarni, Oskar and Tron
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/train_gui.c b/train_gui.c
index 7e3c89113..edc8b74aa 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -827,6 +827,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e)
DoCommandP(v->tile, v->index, 0, NULL, CMD_START_STOP_TRAIN | CMD_MSG(STR_883B_CAN_T_STOP_START_TRAIN));
break;
case 5: /* center main view */
+ DEBUG(misc, 0) ("Train: %d, Velocity: %d, Current Order: %i:%d:%x:%x", v->index, v->cur_speed, v->cur_order_index, v->current_order.station, v->current_order.flags, v->current_order.type);
ScrollMainWindowTo(v->x_pos, v->y_pos);
break;
case 6: /* goto depot */