Skip to content

Commit

Permalink
fix: display speed attribute when looking items (opentibiabr#828)
Browse files Browse the repository at this point in the history
Ensure that items display their speed attribute value when being inspected. This will provide a more complete and accurate representation of the item's properties. Implement this change to enhance the user experience.
  • Loading branch information
ElimarCosta authored Feb 1, 2023
1 parent 9f85261 commit d258953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ std::string Item::parseShowAttributesDescription(const Item *item, const uint16_
itemDescription << ", ";
}

itemDescription << fmt::format("speed {:+}", show);
itemDescription << fmt::format("speed {:+}", itemType.abilities->speed);
}
}

Expand Down

0 comments on commit d258953

Please sign in to comment.