Skip to content

Commit

Permalink
Fixed unwanted case fallthrough in autoreroll (unique rerolling)
Browse files Browse the repository at this point in the history
  • Loading branch information
nooperation committed Mar 10, 2024
1 parent 94c0868 commit 5ec70b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions D2Hackit/Modules/autoReroll/AutoReroll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ bool AutoReroll::IsPerfectProperty(GAMEUNIT& itemUnit, UnitAny* unit, const D2Pr
{
return false;
}

break;
}
case 21: // +class skills
{
Expand All @@ -424,6 +426,7 @@ bool AutoReroll::IsPerfectProperty(GAMEUNIT& itemUnit, UnitAny* unit, const D2Pr
{
return false;
}
break;
}
case 22: // oskills
{
Expand All @@ -439,6 +442,7 @@ bool AutoReroll::IsPerfectProperty(GAMEUNIT& itemUnit, UnitAny* unit, const D2Pr
{
return false;
}
break;
}
}
}
Expand Down

0 comments on commit 5ec70b1

Please sign in to comment.