MiniMap Bug & Fix
Posted: 13 Apr 2008, 21:40
I noticed a bug in the Minimap while testing the SVN Client (0.1.0 trunk). I haven't noticed this being addressed in any of the SVN updates and the change to the code is so small I didn't think a patch would be necessary:
File: gui/minimap.cpp -- Line: 108 -- Function: void Minimap::draw(gcn::Graphics *graphics)
Hope that helps.
File: gui/minimap.cpp -- Line: 108 -- Function: void Minimap::draw(gcn::Graphics *graphics)
Code: Select all
case Being::NPC:
graphics->setColor( gcn::Color(255, 255, 0) );
break;
default:
// If we're here we missed something
assert( (being->getType() == Being::PLAYER) || (being->getType() == Being::MONSTER) || (being->getType() == Being::NPC) );
break;