Lemmings Forums

NeoLemmix => NeoLemmix Main => Archived Bugs & Suggestions => Topic started by: namida on April 21, 2018, 05:05:24 AM

Title: [FIXED][BUG][PLAYER] Rotated one-way arrows don't change direction of effect.
Post by: namida on April 21, 2018, 05:05:24 AM
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).
Title: Re: [BUG][PLAYER] Rotated one-way arrows don't change direction of effect.
Post by: Nepster on April 22, 2018, 10:59:24 AM
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.