Changeset 384 for trunk/monsterz/mash.cpp
- Timestamp:
- Feb 7, 2011, 3:23:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/monsterz/mash.cpp
r314 r384 86 86 for (int n = 0; n < data->npieces && allready; n++) 87 87 { 88 int2 dest = data->pieces[n]->GetCell() * 48;89 int2 cur = data->pieces[n]->GetPos();90 91 88 /* If piece is still too high, don't start the animation */ 92 if (cur.y - dest.y > 2 || abs(cur.x - dest.x) > 2) 89 int2 shift = data->pieces[n]->GetShift(); 90 if (shift.y > 2 || abs(shift.x) > 2) 93 91 allready = 0; 94 92 }
Note: See TracChangeset
for help on using the changeset viewer.