Skip to content

Commit

Permalink
Remove unused enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Jun 7, 2023
1 parent 29fc0f5 commit c5645c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions src/gui/touchscreengui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ static irr::EKEY_CODE id2keycode(touch_gui_button_id id)
{
std::string key = "";
switch (id) {
case forward_id:
key = "forward";
break;
case left_id:
key = "left";
break;
case right_id:
key = "right";
break;
case backward_id:
key = "backward";
break;
case inventory_id:
key = "inventory";
break;
Expand Down
4 changes: 0 additions & 4 deletions src/gui/touchscreengui.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ typedef enum
chat_id,
inventory_id,
drop_id,
forward_id,
backward_id,
left_id,
right_id,
joystick_off_id,
joystick_bg_id,
joystick_center_id
Expand Down

0 comments on commit c5645c0

Please sign in to comment.