You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bots ride all transport types (trams, lifts/elevators) (#265) Bot-following-on-transport was already implemented for ships (PR #239), but relied on master->GetTransport() which only searched the global transport list. Trams and lifts are LocalTransports stored per-map in Map::i_transports, so GetTransport() always returned NULL for them and bots never boarded. Adds GetLocalTransports() to Map and falls back to it in MovementHandler when the global search finds no match. The existing follow logic then works for all transport types unchanged.