Changeset 76


Ignore:
Timestamp:
Jul 8, 2010, 2:00:05 AM (10 years ago)
Author:
sam
Message:

Fix error in tile code computation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map.cpp

    r75 r76  
    7575                             || id < gids[n + 1])
    7676                        {
    77                             code = (data->tilers[n] << 16) | (id - 1);
     77                            code = (data->tilers[n] << 16) | (id - gids[n]);
    7878                            break;
    7979                        }
Note: See TracChangeset for help on using the changeset viewer.