Mercurial > hg > openttd
diff src/train_cmd.cpp @ 6155:09afc32cc744 draft
(svn r8900) -Fix
Get rid of DECLARE_ENUM_AS_BIT_INDEX(Track, TrackBits)
author | tron <tron@openttd.org> |
---|---|
date | Sun, 25 Feb 2007 11:49:43 +0000 (2007-02-25) |
parents | 238db87ae59e |
children | b3b8cbc5e854 |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2948,7 +2948,7 @@ if (prev == NULL) { /* Currently the locomotive is active. Determine which one of the * available tracks to choose */ - chosen_track = 1 << ChooseTrainTrack(v, gp.new_tile, enterdir, bits); + chosen_track = TrackToTrackBits(ChooseTrainTrack(v, gp.new_tile, enterdir, bits)); assert(chosen_track & tracks); /* Check if it's a red signal and that force proceed is not clicked. */