News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

r12035+: make stop public on shared halt also changes other players' tiles

Started by Nazalassa, June 29, 2026, 11:34:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nazalassa

Title says all. With the patch, when a player makes a shared halt public, only their tiles turn public. Ownership is updated accordingly.

Note: I was not sure what counts towards a player having ownership in a halt: having buildings/platforms, or just tracks, or wayobjs? The patch assumes only buildings/platforms count. If otherwise, set "tiles_converted" to "true" in haltestelle_t::change_owner() whenever needed.
Making paks since October 2023  |  pak48.bitlit | pak32.box | MLM for pak64 | Empire F7 cars | Pneumatic tubes | More pak64 vehicles and industries

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.