Ignore:
Timestamp:
Aug 19, 2010, 2:58:27 AM (10 years ago)
Author:
sam
Message:

Invert the mouse coordinate handling logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/layer.cpp

    r133 r137  
    4141        for (int i = 0; i < width; i++)
    4242            if (data[j * width + i])
    43                 scene->AddTile(data[j * width + i], i * 32 - x, j * 32 - y,
     43                scene->AddTile(data[j * width + i], x + i * 32, y + j * 32,
    4444                               altitude + z, orientation);
    4545}
Note: See TracChangeset for help on using the changeset viewer.