mirror of
https://bitbucket.org/theswgsource/client-tools-1.2.git
synced 2026-07-14 00:02:02 -04:00
fix access issues for locked doors and bunkers, such as DWB (per DC and C)y
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user