fix access issues for locked doors and bunkers, such as DWB (per DC and C)y

This commit is contained in:
DarthArgus
2016-05-25 23:40:06 -07:00
parent e984e2659f
commit eef9772bfb
@@ -349,7 +349,7 @@ void CellObject::getObjectInfo(std::map<std::string, std::map<std::string, Unico
bool CellObject::getAccessAllowed() const
{
return m_isPublic.get() && m_accessAllowed;
return (m_isPublic.get() && m_accessAllowed) || m_accessAllowed;
}
// ----------------------------------------------------------------------