Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironbell committed Jul 4, 2016
1 parent 7c2eab2 commit 1275283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GUI/ProgressLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ ProgressLogEntry* ProgressLogEntry::createItemEntry(const std::string& str, cons

entry->m_icon->setTexture(g_resourceManager->getTexture(GlobalResource::TEX_ITEMS));
if (itemID.compare("gold") == 0) {
sf::IntRect textureRect(0, 0, 50, 50);
entry->m_icon->setTextureRect(textureRect);
return entry;
}
Item* item = g_resourceManager->getItem(itemID);
Expand Down

0 comments on commit 1275283

Please sign in to comment.