Skip to content

Commit

Permalink
resolves #228
Browse files Browse the repository at this point in the history
  • Loading branch information
gpedro committed Mar 22, 2018
1 parent f48c24b commit d5f2c0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/map_drawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,9 @@ void MapDrawer::BlitCreature(int screenx, int screeny, const Creature* c, int re

void MapDrawer::WriteTooltip(Item* item, std::ostringstream& stream)
{
if(item == nullptr)
return;

const uint16_t id = item->getID();
if(id < 100)
return;
Expand Down

0 comments on commit d5f2c0c

Please sign in to comment.