libgdx/libgdx — pull request #1086 by hneuer (2013-12-15 11:43:20+00:00)
Title: Fixed atlas index

Index is always (gid-1), so the processing order of the tile sets does not matter.

The old logic with the tileidx counter assumed the tilesets in the correct order, starting with the tileset with firstgid=1.

Fixes #1082