Blackjack: Replaced magic number with len(x)

This commit is contained in:
Logen Kain 2017-01-21 22:23:36 -07:00
parent d511e6c4c2
commit 74f02e4537

View File

@ -46,8 +46,7 @@ void shuffel (int *array, int n){
int i, j, tmp; int i, j, tmp;
for (i=n; i >= len(array) ;i--){
for (i=n; i>-1 ;i--){
if (i != 0){ if (i != 0){
j = rand() % i; j = rand() % i;