Skip to content

Commit

Permalink
add switch case to acknowledge existence of new enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
Soadreqm committed Oct 5, 2024
1 parent ac2666b commit 6f9b47c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/examine_item_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,10 @@ hint_rating rate_action_reload( const avatar &you, const item &it )
case hint_rating::good:
return hint_rating::good;

case hint_rating::blood:
// This doesn't happen, but if it did, just pass the color hint along
return hint_rating::blood;

case hint_rating::cant:
continue;

Expand Down

0 comments on commit 6f9b47c

Please sign in to comment.