forked from mirrors/0ad
Fix units in formation blocking construction and not moving out of the way (see #779).
Make non-movement-blocking buildings (e.g. farms) not require units to move out of the way. This was SVN commit r9510.
This commit is contained in:
@@ -289,6 +289,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool GetBlockMovementFlag()
|
||||
{
|
||||
return (m_TemplateFlags & ICmpObstructionManager::FLAG_BLOCK_MOVEMENT) != 0;
|
||||
}
|
||||
|
||||
virtual ICmpObstructionManager::tag_t GetObstruction()
|
||||
{
|
||||
return m_Tag;
|
||||
|
||||
Reference in New Issue
Block a user