From 593cbaa0a81df937a5f34d7fa7cd85a732ba3936 Mon Sep 17 00:00:00 2001 From: Ole Daniel Evensen Date: Wed, 24 Nov 2010 16:03:28 +0100 Subject: Removed some commented code. --- server/standard.cpp | 8 -------- 1 file changed, 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++; } -- cgit v1.2.3