From 58f6543105b5d9c6a2fda35614eed67eebdfd9a7 Mon Sep 17 00:00:00 2001 From: loshprung Date: Sun, 29 Dec 2019 17:14:51 -0800 Subject: Fixed small bug from previous commit --- a.exe | Bin 60787 -> 60787 bytes monopoly.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/a.exe b/a.exe index 7ffbbe6..db12876 100644 Binary files a/a.exe and b/a.exe 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"); -- cgit