asamy / forgottenmapeditor

Map editor written in lua for Open Tibia. Written with OtClient's framework.
Other
46 stars 20 forks source link

UIMap:movePixels bug #46

Closed tosty33 closed 10 years ago

tosty33 commented 10 years ago

Hello, There's bug with movePixels function.

When I use: movePixels(16, 0) The map is moved by 16 pixels in right direction. But when I use that function again nothing happens.

Also when I use movePixels(32, 0) after moving the map by 16 pixels, the map is moved by only 16 pixels.

asamy commented 10 years ago

Confirmed. Will look into it soon.

asamy commented 10 years ago

Why do we need this btw?

asamy commented 10 years ago

Fixed in https://github.com/edubart/otclient/commit/04515ffbb81db0b180b1bfb187531fbdaf39e7a0