public static MultiComponentList GetComponents(int multiID)
{
multiID &= 0x3FFF;
MultiComponentList mcl;
if (ComponentsCache.TryGetValue(multiID, out mcl) && mcl != null)
{
return(mcl);
}
ComponentsCache[multiID] = mcl = MultiData.GetComponents(multiID);
// Minax Fortress
if (multiID == 0x1388)
{
// That tree...
mcl.Remove(3405, 17, -13, 15);
mcl.Remove(3406, 18, -14, 15);
mcl.Remove(3393, 18, -14, 17);
}
if (mcl.List.Length == 0)
{
mcl.Resize(1, 1);
mcl.Add(0, 0, 0, 0);
}
return(mcl);
}