Author Topic: [FIXED][BUG][PLAYER] Rotated one-way arrows don't change direction of effect.  (Read 1275 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
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).
« Last Edit: April 22, 2018, 04:07:55 PM by Nepster »
My Lemmings 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)

Offline Nepster

  • Posts: 1829
    • View Profile
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.