* Start scripts loaded from an archive

This commit is contained in:
Justin Clarke Casey
2008-07-07 18:54:11 +00:00
parent 9362d9b231
commit 0b2fcbfec4
6 changed files with 28 additions and 13 deletions

View File

@@ -348,7 +348,7 @@ namespace OpenSim.Framework.Communications.Cache
/// <param name="asset"></param>
public void AddAsset(AssetBase asset)
{
if (asset.Type == 0)
if (asset.Type == (int)AssetType.Texture)
{
if (!Textures.ContainsKey(asset.FullID))
{
@@ -365,9 +365,9 @@ namespace OpenSim.Framework.Communications.Cache
}
}
else
{
{
if (!Assets.ContainsKey(asset.FullID))
{
{
AssetInfo assetInf = new AssetInfo(asset);
Assets.Add(assetInf.FullID, assetInf);