Changeset 265


Ignore:
Timestamp:
Jan 23, 2011, 2:45:55 PM (10 years ago)
Author:
sam
Message:

Fix piece position detection for mash updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/mash.cpp

    r264 r265  
    7575        Int2 cur = data->pieces[n]->GetPos();
    7676
    77         if (abs(cur.x - dest.x) > 24)
     77        /* If piece is still too high, don't start the animation */
     78        if (cur.y - dest.y > 12)
    7879            inplace = 0;
    7980    }
Note: See TracChangeset for help on using the changeset viewer.