The International Simutrans Forum

Development => Bug Reports => Known bugs and features => Topic started by: Yona-TYT on October 12, 2022, 09:04:16 PM

Title: [Automated Tests] Rotating the map on startup causes errors.
Post by: Yona-TYT on October 12, 2022, 09:04:16 PM
Tests
Title: Re: [Automated Tests] Rotating the map on startup causes errors.
Post by: Dwachs on October 13, 2022, 06:28:26 AM
This should not happen. Seems I got the rotation of the directions wrong.

Edit: not really a bug. The tests are not written with possible map rotation in mind: If one sets slope/direction then on the map the slope/direction might be rotated. In order to fix this, the actual slope/direction have to be queried and  used.

Edit2: For slopes this can be corrected. However, the coordinate transform for grid points to raise/lower is wrong.