summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorloshprung <lshprung@scu.edu>2019-12-29 17:14:51 -0800
committerloshprung <lshprung@scu.edu>2019-12-29 17:14:51 -0800
commit58f6543105b5d9c6a2fda35614eed67eebdfd9a7 (patch)
treea5ba158c818b390f41dc8f38f911527d5d8dd7dc
parent7adb5801b20b17a5d26a47862321b8f59d209a1f (diff)
Fixed small bug from previous commit
-rw-r--r--a.exebin60787 -> 60787 bytes
-rw-r--r--monopoly.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/a.exe b/a.exe
index 7ffbbe6..db12876 100644
--- a/a.exe
+++ b/a.exe
Binary files differ
diff --git a/monopoly.c b/monopoly.c
index b06b85e..2640d86 100644
--- a/monopoly.c
+++ b/monopoly.c
@@ -529,7 +529,7 @@ void game_stats(int option){
printf(" ");
}
printf("has $%d", player_cash[i]);
- change_color(player_colors[property_ownership[i]]);
+ change_color(player_colors[i]);
printf(" ");
change_color(13);
printf("\n");
@@ -637,7 +637,7 @@ void game_stats(int option){
}
printf(" space on the board: %s", space_names[player_space[i]]);
}
- change_color(player_colors[property_ownership[i]]);
+ change_color(player_colors[i]);
printf(" ");
change_color(13);
printf("\n");