Page 1 of 1

Possible bug in DisplayBGPicPart()

Posted: Thu Jul 07, 2011 11:54 pm
by Allanon
Hi Andreas,
there is something strange with DisplayBGPicPart()

If I use the DisplayBGPicPart() with the parameter dy = -1 it does not work, it's not generated an error but the command act like if dy was euql to 0.
For every other values I use (like, 1, -2, 2 and so on) it works fine.

Can you have a look at this?

best regards,
Fabio

Re: Possible bug in DisplayBGPicPart()

Posted: Fri Jul 08, 2011 10:18 pm
by airsoftsoftwair
That's a known issue. I currently have to keep this behaviour because the Malibu plugin uses -1 as a special value to indicate that dstx/y should be equal to srcx/y. Choosing -1 as a 'magic' value was of course not very clever but currently Malibu still relies on it so I have to keep this behaviour.

Re: Possible bug in DisplayBGPicPart()

Posted: Sat Jul 09, 2011 3:57 pm
by Allanon
Andreas wrote:That's a known issue. I currently have to keep this behaviour because the Malibu plugin uses -1 as a special value to indicate that dstx/y should be equal to srcx/y. Choosing -1 as a 'magic' value was of course not very clever but currently Malibu still relies on it so I have to keep this behaviour.
Ok, I understand :)