asamy / forgottenmapeditor

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

Anoter UIMap:movePixels bug #51

Closed tosty33 closed 10 years ago

tosty33 commented 10 years ago

Hello, I've found another bug in movePixels function. For example: I have map like this: pre It looks good, but when I use movePixels function, I get effect like this: aft

asamy commented 10 years ago

Might be that the camera position isn't updated, I'll look into this.

edubart commented 10 years ago

Move pixels should NOT be used for more than 32 pixels, otherwise this will happen. When you want to move more than 32 pixels, you should update the camera position.

asamy commented 10 years ago

Fixed in https://github.com/edubart/otclient/commit/b5c3b37b3c74dfe2ba5f562db8fcb4565d52f6e7