Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
item: fix quad/currencytab item image scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed Dec 1, 2018
1 parent dbd21c3 commit 2c751fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ Item::Item(const rapidjson::Value &json) :
// Other code assumes icon is proper size so force quad=1 to quad=0 here as it's clunky
// to handle elsewhere
boost::replace_last(icon_, "quad=1", "quad=0");
// quad stashes, currency stashes, etc
boost::replace_last(icon_, "scaleIndex=", "scaleIndex=0&");

CalculateCategories(json);

Expand Down

0 comments on commit 2c751fd

Please sign in to comment.