News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

PR#540 - FIX: One train staff overlay is broken in diagonal direction

Started by RESTRICTED ACCOUNT, May 19, 2022, 11:45:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RESTRICTED ACCOUNT

The essence of the bug report in this thread was that the one train staff-only process did not correctly handle diagonal placement. Thus the code had an error checking for a tile without a track.
Thanks to james for addressing the crash in the interim.
However, the possibility of crashes had not yet been completely ruled out. The display was also broken, so I rewrote this part of the code and changed it so that it would display correctly.
Please check pull request #540.

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.