Changeset 10768 for code/branches/cpp11_v2/src/modules/mini4dgame
- Timestamp:
- Nov 6, 2015, 10:54:34 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/mini4dgame
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/mini4dgame/Mini4Dgame.cc
r10765 r10768 66 66 RegisterObject(Mini4Dgame); 67 67 68 this->board_ = 0;68 this->board_ = nullptr; 69 69 70 70 // Set the type of Bots for this particular Gametype. … … 91 91 { 92 92 //this->board_->destroy(); 93 this->board_ = 0;93 this->board_ = nullptr; 94 94 } 95 95 } -
code/branches/cpp11_v2/src/modules/mini4dgame/Mini4DgameAI.cc
r10230 r10768 60 60 61 61 this->setConfigValues(); 62 this->center_ = 0;62 this->center_ = nullptr; 63 63 } 64 64 -
code/branches/cpp11_v2/src/modules/mini4dgame/Mini4DgameBoard.cc
r10765 r10768 64 64 for(int l=0;l<4;l++){ 65 65 this->board[i][j][k][l]=mini4DgamePlayerColor::none; 66 this->blinkingBillboards[i][j][k][l] = 0;66 this->blinkingBillboards[i][j][k][l] = nullptr; 67 67 } 68 68 } … … 97 97 this->board[move.x][move.y][move.z][move.w] = mini4DgamePlayerColor::none; 98 98 this->blinkingBillboards[move.x][move.y][move.z][move.w]->destroy(); 99 this->blinkingBillboards[move.x][move.y][move.z][move.w] = 0;99 this->blinkingBillboards[move.x][move.y][move.z][move.w] = nullptr; 100 100 if(player_toggle_){ 101 101 this->player_toggle_ = false;
Note: See TracChangeset
for help on using the changeset viewer.