Changeset 273


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

Fix a bug affecting spawned pieces' initial positions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/board.cpp

    r266 r273  
    244244            mash->AddPiece(data->pieces[i][j]);
    245245
    246             Int2 newpos = data->pieces[i][7]->GetPos() + Int2(0, 48);
     246            Int2 newpos = Int2(i * 48, data->pieces[i][7]->GetPos().y + 48);
    247247
    248248            for (int j2 = j + 1; j2 < 8; j2++)
Note: See TracChangeset for help on using the changeset viewer.