Skip to content

Commit d5ea8cb

Browse files
committed
update comments
1 parent 4440b19 commit d5ea8cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/supertux/tile_set_parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ TileSetParser::parse(uint32_t start, uint32_t end, int32_t offset)
6161
else if (iter.get_key() == "tilegroup")
6262
{
6363
/* tilegroups are only interesting for the editor */
64-
/* ignore tilegroups for imported tilesets */
64+
/* ignore tilegroups for imported tilesets unless there's no limit and no offset*/
6565
if (end || offset) continue;
6666
ReaderMapping reader = iter.as_mapping();
6767
Tilegroup tilegroup;
@@ -76,7 +76,7 @@ TileSetParser::parse(uint32_t start, uint32_t end, int32_t offset)
7676
}
7777
else if (iter.get_key() == "autotileset")
7878
{
79-
/* ignore autotiles for imported tilesets */
79+
/* ignore autotiles for imported tilesets unless there's no limit and no offset */
8080
if (end || offset) continue;
8181
ReaderMapping reader = iter.as_mapping();
8282
std::string autotile_filename;

0 commit comments

Comments
 (0)