Ignore:
Timestamp:
Aug 1, 2011, 12:23:28 AM (10 years ago)
Author:
sam
Message:

tiler: ensure AddTile() and BlitTile() accept vec3i arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/interface.cpp

    r790 r792  
    9999    if (Platform::GetMouseCount() && mouse.x >= 0 && mouse.y >= 0)
    100100    {
    101         vec2i m = mouse + vec2i(-6, 6 - 48);
    102         Scene::GetDefault()->AddTile(data->tiles, 22, m.x, m.y, 30, 0);
     101        vec3i m = vec3i(mouse) + vec3i(-6, 6 - 48, 30);
     102        Scene::GetDefault()->AddTile(data->tiles, 22, m, 0);
    103103    }
    104104}
Note: See TracChangeset for help on using the changeset viewer.