fixed rotating MM game elements in editor with pressed Shift key
authorHolger Schemel <info@artsoft.org>
Fri, 24 Feb 2023 19:51:53 +0000 (20:51 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 24 Feb 2023 20:01:17 +0000 (21:01 +0100)
When holding the Shift key pressed, MM style rotatable game elements
can be rotated on the playfield (instead of drawing with the element
selected for this mouse button). However, if the drawing element is
an MM style wall, this element is placed on the playfield instead of
rotating the existing element on the playfield.

This usually happened when editing a level using the MM game engine
and trying to rotate an existing element to the right using the right
mouse button, as the default drawing element for the right mouse
button is the wooden MM style wall.

This change fixes this problem, so all three mouse button can now
be used to rotate elements on the playfield, regardless of current
drawing element.


No differences found