Changeset 277
- Timestamp:
- Jan 24, 2011, 10:38:57 AM (10 years ago)
- Location:
- trunk/monsterz
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/monsterz/board.cpp
r276 r277 74 74 for (int i = 0; i < 8; i++) 75 75 { 76 int id = 25 + 5 * (rand() % 7);76 int id = 25 + 5 * (rand() % 8); 77 77 data->pieces[i][j] = new Piece(game, Int2(i, j), id); 78 78 if (j) … … 295 295 * the board. */ 296 296 Int2 newpos = Int2(i * 48, below->GetPos().y + 48); 297 int id = 25 + 5 * (rand() % 7);297 int id = 25 + 5 * (rand() % 8); 298 298 data->pieces[i][7] = new Piece(data->game, Int2(i, 7), id); 299 299 data->pieces[i][7]->SetBelow(below);
Note: See TracChangeset
for help on using the changeset viewer.