mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
* campaign against magic numbers
* ArtifactID was misleading and wrongly used in one place -- renamed and fixed * minor changes
This commit is contained in:
@ -357,7 +357,7 @@ const SDL_Color & CMinimapInstance::getTileColor(const int3 & pos)
|
||||
BOOST_FOREACH(const CGObjectInstance *obj, tile->blockingObjects)
|
||||
{
|
||||
//heroes will be blitted later
|
||||
if (obj->ID == GameConstants::HEROI_TYPE)
|
||||
if (obj->ID == Obj::HERO)
|
||||
continue;
|
||||
|
||||
int player = obj->getOwner();
|
||||
|
Reference in New Issue
Block a user