The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on November 10, 2022, 02:12:48 PM

Title: [ <a href > ] Rotating the map changes the coordinates in links tags
Post by: Yona-TYT on November 10, 2022, 02:12:48 PM
When I use 3d coordinates they change their values when the map is rotated and they no longer point to the correct direction, see the attached test script: script_test_links.zip
"<a href=\"("+c.x+","+c.y+","+c_z+")\">("+c.tostring()+","+c_z+")</a>"
Title: Re: [ <a href > ] Rotating the map changes the coordinates in links tags
Post by: Dwachs on November 10, 2022, 05:52:12 PM
should be fixed in r10799, was broken since r7061 from February 2014  :P
Title: Re: [ <a href > ] Rotating the map changes the coordinates in links tags
Post by: Yona-TYT on November 10, 2022, 06:48:17 PM
Quote from: Dwachs on November 10, 2022, 05:52:12 PMshould be fixed in r10799, was broken since r7061 from February 2014  :P
I had detected it years ago, however I think I did not report it well (or did I not at all?), so I simply did not use z coordinates and that worked for me until now.

I'm so glad this is finally resolved :) .