1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
DjWarmonger 2014-10-01 14:19:03 +02:00
parent 95e442898e
commit 01491f9f1e
3 changed files with 7 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

View File

@ -371,8 +371,12 @@ const SDL_Color & CMinimapInstance::getTileColor(const int3 & pos)
for (const CGObjectInstance *obj : tile->blockingObjects)
{
//heroes will be blitted later
if (obj->ID == Obj::HERO)
switch (obj->ID)
{
case Obj::HERO:
case Obj::PRISON:
continue;
}
PlayerColor player = obj->getOwner();
if(player == PlayerColor::NEUTRAL)