fallahn / sfml-tmxloader

SFML 2.x based tmx tilemap parser for files created with Tiled tile map editor
106 stars 35 forks source link

Map objects not of tile size are offset #53

Closed Muon closed 8 years ago

Muon commented 8 years ago

The offset added with https://github.com/fallahn/sfml-tmxloader/blob/master/src/MapLoaderPrivate.cpp#L916 messes up map object placement, displacing objects down if their images are not tile-sized. Commenting it out fixes it, but I'm not sure if that might break something else.

fallahn commented 8 years ago

Thanks for the PR. Will have to double check why I did this in the first place before accepting it though.