Ignore:
Timestamp:
Mar 28, 2011, 1:31:50 AM (10 years ago)
Author:
sam
Message:

monsterz: do not display mouse pointer or grab handle on touch devices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/interface.cpp

    r743 r750  
    103103    Scene::GetDefault()->AddTile((data->screen << 16) | 0, 0, 0, 10, 0);
    104104
    105     if (mouse.x >= 0 && mouse.y >= 0)
     105    if (Platform::GetMouseCount() && mouse.x >= 0 && mouse.y >= 0)
    106106    {
    107107        vec2i m = mouse + vec2i(-6, 6 - 48);
Note: See TracChangeset for help on using the changeset viewer.