Files
OpenTTD/src
SamuXarick d7c5e9e8ab Codechange: Where the ship comes from is already known
This simplifies the handling of variables.

`ChooseShipTrack` is called upon entering `tile`, and looking further back to the caller, it can be deduced that `v->tile` matches `src_tile`. With that said, `enterdir` can also be removed, as it's not used anywhere else.

`CreateRandomPath` and `GetRandomFollowUpTrackdir` is being fed `src_tile` as it's 2nd parameter. This could be eliminated, as `v` is also being passed to it. Just use `v->tile` in those functions.
2024-03-16 17:02:19 +01:00
..
2024-03-16 04:41:24 +00:00
2024-02-25 12:38:07 +00:00
2023-07-03 18:08:03 +02:00
2024-01-04 16:23:54 +01:00
2023-11-29 21:12:28 -04:00
2023-09-10 08:40:25 -04:00