This commit is contained in:
floty
2008-10-17 11:22:14 +00:00
parent b71a06d243
commit 48124f21f4
4 changed files with 17 additions and 7 deletions
+4 -1
View File
@@ -1031,8 +1031,11 @@ ArrayData::~ArrayData()
void ArrayData::getHandChancePreflop(int handCode, int** values) {
int check = -1;
for (unsigned val = 0; val < NUM_HAND_CHANCE_PREFLOP; val++) {
if(handCode == handChancePreflop[val].hand) {
check = 1;
for(int i=0;i<10;i++) {
for(int j=0;j<2;j++) {
values[i][j] = handChancePreflop[val].data[i][j];
@@ -1041,6 +1044,6 @@ void ArrayData::getHandChancePreflop(int handCode, int** values) {
break;
}
}
// if (myOdds == -1) LOG_ERROR(__FILE__ << " (" << __LINE__ << "): ERROR myOdds - " << handCode);
if (check == -1) LOG_ERROR(__FILE__ << " (" << __LINE__ << "): ERROR getHandChancePreflop - " << handCode);
}