Skip to content

Commit

Permalink
Merge pull request #34 from youbetterdont/hotfix/boots-typo
Browse files Browse the repository at this point in the history
Fixed a typo with the BOW item group.
  • Loading branch information
planqi authored Mar 18, 2020
2 parents 2faf0a6 + 7a995e0 commit 699e170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BH/Modules/Item/ItemDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,14 +781,14 @@ void Condition::BuildConditions(vector<Condition*> &conditions, string token) {
} else if (key.compare(0, 7, "POLEARM") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_POLEARM));
} else if (key.compare(0, 3, "BOW") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_BOOTS));
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_BOW));
} else if (key.compare(0, 4, "XBOW") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_CROSSBOW));
} else if (key.compare(0, 5, "STAFF") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_STAFF));
} else if (key.compare(0, 4, "WAND") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_WAND));
} else if (key.compare(0, 5, "SCEPTER") == 0) {
} else if (key.compare(0, 7, "SCEPTER") == 0) {
Condition::AddOperand(conditions, new ItemGroupCondition(ITEM_GROUP_SCEPTER));
} else if (key.compare(0, 2, "EQ") == 0 && keylen == 3) {
if (key[2] == '1') {
Expand Down

0 comments on commit 699e170

Please sign in to comment.