* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.

* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.)
* Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
This commit is contained in:
Adam Frisby
2008-05-11 04:32:43 +00:00
parent 05de723e51
commit ee352ebc79
6 changed files with 781 additions and 6 deletions

View File

@@ -50,9 +50,12 @@ namespace OpenSim.Region.Environment.Scenes
{
m_log.Info("[PRIM INVENTORY]: Starting scripts in scene");
foreach (SceneObjectGroup group in Entities.Values)
foreach (EntityBase group in Entities.Values)
{
group.StartScripts();
if (group is SceneObjectGroup)
{
((SceneObjectGroup) group).StartScripts();
}
}
}