diff options
author | rubidium <rubidium@openttd.org> | 2010-08-19 20:34:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-19 20:34:51 +0000 |
commit | 983883a2b91b161035842a2b50e134136ea0fd64 (patch) | |
tree | 9bb61ed102ef0bf07076379682ef845c63441a80 /src/timetable_gui.cpp | |
parent | 64c178467d602c6b4d225dc28d774076311e4805 (diff) | |
download | openttd-983883a2b91b161035842a2b50e134136ea0fd64.tar.xz |
(svn r20570) -Codechange: free/reserve some bits in the timetable commands to increase the vehicle pool limit
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r-- | src/timetable_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index 7b2ece1d7..0a470a7b0 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -497,7 +497,7 @@ struct TimetableWindow : Window { if (order_number >= v->GetNumOrders()) order_number = 0; - return v->index | (order_number << 16) | (is_journey << 24); + return v->index | (order_number << 20) | (is_journey << 28); } virtual void OnClick(Point pt, int widget, int click_count) |