News:

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

[Automated Tests] Rotating the map on startup causes errors.

Started by Yona-TYT, October 12, 2022, 09:04:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Dwachs

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.
Parsley, sage, rosemary, and maggikraut.