summaryrefslogtreecommitdiff
path: root/web/web_control.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-13 17:12:16 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-13 17:12:16 -0700
commitb67982a90f861ba29e41ed366a481af707bd1c79 (patch)
tree73b7d77b1428f5e8765b7e494465dd69b4465632 /web/web_control.c
parent63337ba4f8c4f31b7da96e9c3669fc29e0a03b49 (diff)
downloaddartboat-b67982a90f861ba29e41ed366a481af707bd1c79.tar.gz
dartboat-b67982a90f861ba29e41ed366a481af707bd1c79.tar.xz
web: use icons for settings; misc changes
Diffstat (limited to 'web/web_control.c')
-rw-r--r--web/web_control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/web_control.c b/web/web_control.c
index e75b703..6d61f5c 100644
--- a/web/web_control.c
+++ b/web/web_control.c
@@ -68,7 +68,7 @@ void draw_boat_throwing(int pts, char *str, double x, double y)
free(str);
prompt_flush();
- scoreboard_flush_player_info(2); // FIXME bot hard-coded as player 2
+ scoreboard_flush_player_info(2);
}
void boat_visit()
@@ -254,7 +254,7 @@ void match_mode_selected(int mode)
// names need to be freed if we stop using string literals
if (mode == M_PVC) {
match_opts->p1_name = "User";
- match_opts->p2_name = "Bot";
+ match_opts->p2_name = "Computer";
} else if (mode == M_P) {
match_opts->p1_name = "Player 1";
match_opts->p2_name = NULL;