diff options
author | Ole Daniel Evensen <ole_daniel_evensen@hotmail.com> | 2010-11-24 16:03:28 +0100 |
---|---|---|
committer | Ole Daniel Evensen <ole_daniel_evensen@hotmail.com> | 2010-11-24 16:03:28 +0100 |
commit | 593cbaa0a81df937a5f34d7fa7cd85a732ba3936 (patch) | |
tree | d0bd727fd31dd56f21f21fad392ac3866e76752a | |
parent | ffde162fe9fd2da904c0072d5a182de7480c5ea6 (diff) |
Removed some commented code.
-rw-r--r-- | server/standard.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/server/standard.cpp b/server/standard.cpp index 2dbc038..8192152 100644 --- a/server/standard.cpp +++ b/server/standard.cpp @@ -101,22 +101,14 @@ State& Standard::round_update() { Tiles::iterator it; //We check to see if any players have kan/pon - //Tile* tile_m1, tile_m2, tile_m3; - //int tile_m1_id, tile_m2_id, tile_m3_id; unsigned int tile_match_ids[3]; - //Tile* tile_matches[3] = {NULL, NULL, NULL}; unsigned int count, count_m; for(unsigned int array_counter = 0; array_counter < 4; array_counter++) { State::Player* temp_player = &game_state.players[array_counter]; - //tile_m1 = NULL; - //tile_m2 = NULL; - //tile_m3 = NULL; - //tile_matches = {NULL, NULL, NULL}; count = 0; count_m = 0; for(it = temp_player->hand.begin(); it != temp_player->hand.end(); ++it) { if(it->type == temp_tile.type) { - //tile_matches[count_m] = *it; tile_match_ids[count_m] = count; count_m++; } |