Changeset 133 for trunk/src/map.cpp


Ignore:
Timestamp:
Aug 17, 2010, 1:01:16 AM (11 years ago)
Author:
sam
Message:

Fix z-sorting of tiles. For now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map.cpp

    r126 r133  
    104104            if (ntiles == data->width * data->height)
    105105            {
    106                 data->layers[data->nlayers] = new Layer(data->width,
    107                                                    data->height, level, tiles);
     106                Layer *l = new Layer(data->width, data->height,
     107                                     level, orientation, tiles);
     108                data->layers[data->nlayers] = l;
    108109                data->nlayers++;
    109110                tiles = NULL;
Note: See TracChangeset for help on using the changeset viewer.