mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fixed #1718
This commit is contained in:
parent
95e442898e
commit
01491f9f1e
Binary file not shown.
Before Width: | Height: | Size: 86 KiB |
Binary file not shown.
Before Width: | Height: | Size: 82 KiB |
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user