summaryrefslogtreecommitdiff
path: root/web/web_match.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/web_match.c')
-rw-r--r--web/web_match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web_match.c b/web/web_match.c
index 793aedd..f200f11 100644
--- a/web/web_match.c
+++ b/web/web_match.c
@@ -82,12 +82,12 @@ int match_winning_player()
return i + 1;
}
- return -1;
+ return 0;
}
bool match_is_over()
{
- return match_winning_player() != -1;
+ return match_winning_player() != 0;
}
int match_prev_player()