summaryrefslogtreecommitdiff
path: root/server/standard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/standard.cpp')
-rw-r--r--server/standard.cpp8
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++;
}