Skip to content

Commit

Permalink
feat: enable robot mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jul 18, 2023
1 parent d535d47 commit 2910b0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/wid_actionbar_ascii.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ void wid_actionbar_ascii_init(void)
x_at += option_width + 1;
}

IF_DEBUG2
{
if (game->state == Game::STATE_NORMAL) {
auto w = wid_new_square_button(wid_actionbar, "wid actionbar robot");
Expand Down
3 changes: 1 addition & 2 deletions src/wid_actionbar_pixelart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void wid_actionbar_pixelart_init(void)
if (game->state == Game::STATE_NORMAL) {
options++;
options++;
IF_DEBUG2 { options++; }
options++;
}

if (ui_icon_collect) {
Expand Down Expand Up @@ -149,7 +149,6 @@ void wid_actionbar_pixelart_init(void)
x_at += option_width;
}

IF_DEBUG2
{
if (game->state == Game::STATE_NORMAL) {
auto w = wid_new_square_button(wid_actionbar, "wid actionbar robot");
Expand Down

0 comments on commit 2910b0c

Please sign in to comment.