[FIXED][BUG][PLAYER] Rotated one-way arrows don't change direction of effect.

Started by namida, April 21, 2018, 05:05:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

namida

Steps to reproduce:

1. Place a one-way left arrow.
2. Rotate it so that it's now a one-way down arrow.

3. Try to bash from right. Works correctly.
4. Try to bash from left. It's still being treated as a one way up arrow.

Not tested: Are flipped / inverted also affected?

This was a supported feature at one point (indeed, the intention being to remove the need for seperate objects for each direction).
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Nepster

Quote from: namida on April 21, 2018, 05:05:24 AM
This was a supported feature at one point (indeed, the intention being to remove the need for seperate objects for each direction).
How true this sentence is really depends on how you look at it: The code that should have done that was always there (and still is), but it never actually did the correct thing: Internally it alwas checked for Obj.Rotated which is only set to anything for terrain pieces (and thus always returned false). Instead it should have checked the proper isRotated method.

This is fixed for the next update.