Ignore:
Timestamp:
Jan 19, 2011, 10:23:35 PM (10 years ago)
Author:
sam
Message:

Allow to immediately grab an ungrabbed piece if it is close enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/board.cpp

    r238 r243  
    6666        {
    6767            int id = (35 + i + (i ^ (j + 13)) * (2 * j + 711)) % 9;
    68             data->pieces[i][j] = new Piece(game, i, j, 25 + 5 * id);
     68            data->pieces[i][j] = new Piece(game, Int2(i, j), 25 + 5 * id);
    6969            Ticker::Ref(data->pieces[i][j]);
    7070        }
Note: See TracChangeset for help on using the changeset viewer.